﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="DSrep" targetNamespace="http://tempuri.org/DSrep.xsd" xmlns:mstns="http://tempuri.org/DSrep.xsd" xmlns="http://tempuri.org/DSrep.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
  <xs:annotation>
    <xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
      <DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
        <Connections>
          <Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="Karbel4ConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="Karbel4ConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.TX.Properties.Settings.GlobalReference.Default.Karbel4ConnectionString" Provider="System.Data.SqlClient" />
        </Connections>
        <Tables>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AddressTypeTableAdapter" GeneratorDataComponentClassName="AddressTypeTableAdapter" Name="AddressType" UserDataComponentName="AddressTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.AddressType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[AddressType] WHERE (([AddressTypeId] = @Original_AddressTypeId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AddressType] ([Name]) VALUES (@Name);
SELECT AddressTypeId, Name FROM AddressType WHERE (AddressTypeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AddressTypeId, Name FROM dbo.AddressType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[AddressType] SET [Name] = @Name WHERE (([AddressTypeId] = @Original_AddressTypeId) AND ([Name] = @Original_Name));
SELECT AddressTypeId, Name FROM AddressType WHERE (AddressTypeId = @AddressTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AddressTypeId" ColumnName="AddressTypeId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@AddressTypeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="AddressTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AddressTypeId" DataSetColumn="AddressTypeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="AlisSekliTableAdapter" GeneratorDataComponentClassName="AlisSekliTableAdapter" Name="AlisSekli" UserDataComponentName="AlisSekliTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.AlisSekli" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[AlisSekli] WHERE (([AlisSekliId] = @Original_AlisSekliId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[AlisSekli] ([Name]) VALUES (@Name);
SELECT AlisSekliId, Name FROM AlisSekli WHERE (AlisSekliId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT AlisSekliId, Name FROM dbo.AlisSekli</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[AlisSekli] SET [Name] = @Name WHERE (([AlisSekliId] = @Original_AlisSekliId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT AlisSekliId, Name FROM AlisSekli WHERE (AlisSekliId = @AlisSekliId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="AlisSekliId" ColumnName="AlisSekliId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@AlisSekliId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="AlisSekliId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="AlisSekliId" DataSetColumn="AlisSekliId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="BelgeTipiTableAdapter" GeneratorDataComponentClassName="BelgeTipiTableAdapter" Name="BelgeTipi" UserDataComponentName="BelgeTipiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.BelgeTipi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[BelgeTipi] WHERE (([BelgeTipiId] = @Original_BelgeTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[BelgeTipi] ([Name]) VALUES (@Name);
SELECT BelgeTipiId, Name FROM BelgeTipi WHERE (BelgeTipiId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BelgeTipiId, Name FROM dbo.BelgeTipi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[BelgeTipi] SET [Name] = @Name WHERE (([BelgeTipiId] = @Original_BelgeTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT BelgeTipiId, Name FROM BelgeTipi WHERE (BelgeTipiId = @BelgeTipiId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BelgeTipiId" ColumnName="BelgeTipiId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@BelgeTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="BelgeTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BelgeTipiId" DataSetColumn="BelgeTipiId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CarrierTableAdapter" GeneratorDataComponentClassName="CarrierTableAdapter" Name="Carrier" UserDataComponentName="CarrierTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Carrier" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Carrier] WHERE (([CarrierId] = @Original_CarrierId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Carrier] ([Name]) VALUES (@Name);
SELECT CarrierId, Name FROM Carrier WHERE (CarrierId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CarrierId, Name FROM dbo.Carrier</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Carrier] SET [Name] = @Name WHERE (([CarrierId] = @Original_CarrierId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT CarrierId, Name FROM Carrier WHERE (CarrierId = @CarrierId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CarrierId" ColumnName="CarrierId" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@CarrierId" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="CarrierId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CarrierId" DataSetColumn="CarrierId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContactTableAdapter" GeneratorDataComponentClassName="ContactTableAdapter" Name="Contact" UserDataComponentName="ContactTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Contact" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Contact] WHERE (([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Contact] ([Title], [FirstName], [MiddleName], [LastName], [EmailAddress], [Phone1], [Phone2], [Mobile], [AdditionalContactInfo], [Photo], [Notes], [ModifiedDate], [ModifiedBy], [Username], [PasswordHash], [PasswordSalt], [SqlUser], [IsActive]) VALUES (@Title, @FirstName, @MiddleName, @LastName, @EmailAddress, @Phone1, @Phone2, @Mobile, @AdditionalContactInfo, @Photo, @Notes, @ModifiedDate, @ModifiedBy, @Username, @PasswordHash, @PasswordSalt, @SqlUser, @IsActive);
SELECT ContactId, Title, FirstName, MiddleName, LastName, EmailAddress, Phone1, Phone2, Mobile, AdditionalContactInfo, Photo, Notes, ModifiedDate, ModifiedBy, TS, Username, PasswordHash, PasswordSalt, SqlUser, IsActive FROM Contact WHERE (ContactId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@EmailAddress" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="EmailAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@AdditionalContactInfo" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="AdditionalContactInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordHash" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordSalt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordSalt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SqlUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SqlUser" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsActive" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsActive" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ContactId, Title, FirstName, MiddleName, LastName, EmailAddress, Phone1, Phone2, Mobile, AdditionalContactInfo, Photo, Notes, ModifiedDate, ModifiedBy, TS, Username, PasswordHash, PasswordSalt, SqlUser, IsActive FROM dbo.Contact</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Contact] SET [Title] = @Title, [FirstName] = @FirstName, [MiddleName] = @MiddleName, [LastName] = @LastName, [EmailAddress] = @EmailAddress, [Phone1] = @Phone1, [Phone2] = @Phone2, [Mobile] = @Mobile, [AdditionalContactInfo] = @AdditionalContactInfo, [Photo] = @Photo, [Notes] = @Notes, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy, [Username] = @Username, [PasswordHash] = @PasswordHash, [PasswordSalt] = @PasswordSalt, [SqlUser] = @SqlUser, [IsActive] = @IsActive WHERE (([ContactId] = @Original_ContactId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ContactId, Title, FirstName, MiddleName, LastName, EmailAddress, Phone1, Phone2, Mobile, AdditionalContactInfo, Photo, Notes, ModifiedDate, ModifiedBy, TS, Username, PasswordHash, PasswordSalt, SqlUser, IsActive FROM Contact WHERE (ContactId = @ContactId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@EmailAddress" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="EmailAddress" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone1" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone1" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Phone2" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Phone2" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Mobile" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Mobile" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@AdditionalContactInfo" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="AdditionalContactInfo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Photo" Precision="0" ProviderType="VarBinary" Scale="0" Size="0" SourceColumn="Photo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Username" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Username" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordHash" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordHash" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PasswordSalt" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PasswordSalt" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@SqlUser" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="SqlUser" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@IsActive" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="IsActive" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ContactId" ColumnName="ContactId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
              <Mapping SourceColumn="MiddleName" DataSetColumn="MiddleName" />
              <Mapping SourceColumn="LastName" DataSetColumn="LastName" />
              <Mapping SourceColumn="EmailAddress" DataSetColumn="EmailAddress" />
              <Mapping SourceColumn="Phone1" DataSetColumn="Phone1" />
              <Mapping SourceColumn="Phone2" DataSetColumn="Phone2" />
              <Mapping SourceColumn="Mobile" DataSetColumn="Mobile" />
              <Mapping SourceColumn="AdditionalContactInfo" DataSetColumn="AdditionalContactInfo" />
              <Mapping SourceColumn="Photo" DataSetColumn="Photo" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
              <Mapping SourceColumn="Username" DataSetColumn="Username" />
              <Mapping SourceColumn="PasswordHash" DataSetColumn="PasswordHash" />
              <Mapping SourceColumn="PasswordSalt" DataSetColumn="PasswordSalt" />
              <Mapping SourceColumn="SqlUser" DataSetColumn="SqlUser" />
              <Mapping SourceColumn="IsActive" DataSetColumn="IsActive" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ContactTypeTableAdapter" GeneratorDataComponentClassName="ContactTypeTableAdapter" Name="ContactType" UserDataComponentName="ContactTypeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ContactType" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ContactType] WHERE (([ContactTypeId] = @Original_ContactTypeId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ContactType] ([Name]) VALUES (@Name);
SELECT ContactTypeId, Name FROM ContactType WHERE (ContactTypeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ContactTypeId, Name FROM dbo.ContactType</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ContactType] SET [Name] = @Name WHERE (([ContactTypeId] = @Original_ContactTypeId) AND ([Name] = @Original_Name));
SELECT ContactTypeId, Name FROM ContactType WHERE (ContactTypeId = @ContactTypeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ContactTypeId" ColumnName="ContactTypeId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ContactTypeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ContactTypeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ContactTypeId" DataSetColumn="ContactTypeId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CountryTableAdapter" GeneratorDataComponentClassName="CountryTableAdapter" Name="Country" UserDataComponentName="CountryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Country" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Country] WHERE (([CountryCode] = @Original_CountryCode) AND ([Name] = @Original_Name) AND ((@IsNull_Territory = 1 AND [Territory] IS NULL) OR ([Territory] = @Original_Territory)) AND ((@IsNull_OriginId = 1 AND [OriginId] IS NULL) OR ([OriginId] = @Original_OriginId)) AND ((@IsNull_CultureId = 1 AND [CultureId] IS NULL) OR ([CultureId] = @Original_CultureId)) AND ((@IsNull_CurrencyCode = 1 AND [CurrencyCode] IS NULL) OR ([CurrencyCode] = @Original_CurrencyCode)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Territory" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CultureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Country] ([CountryCode], [Name], [Territory], [OriginId], [CultureId], [CurrencyCode], [ActiveFlag]) VALUES (@CountryCode, @Name, @Territory, @OriginId, @CultureId, @CurrencyCode, @ActiveFlag);
SELECT CountryCode, Name, Territory, OriginId, CultureId, CurrencyCode, ActiveFlag FROM Country WHERE (CountryCode = @CountryCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CountryCode, Name, Territory, OriginId, CultureId, CurrencyCode, ActiveFlag FROM dbo.Country</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Country] SET [CountryCode] = @CountryCode, [Name] = @Name, [Territory] = @Territory, [OriginId] = @OriginId, [CultureId] = @CultureId, [CurrencyCode] = @CurrencyCode, [ActiveFlag] = @ActiveFlag WHERE (([CountryCode] = @Original_CountryCode) AND ([Name] = @Original_Name) AND ((@IsNull_Territory = 1 AND [Territory] IS NULL) OR ([Territory] = @Original_Territory)) AND ((@IsNull_OriginId = 1 AND [OriginId] IS NULL) OR ([OriginId] = @Original_OriginId)) AND ((@IsNull_CultureId = 1 AND [CultureId] IS NULL) OR ([CultureId] = @Original_CultureId)) AND ((@IsNull_CurrencyCode = 1 AND [CurrencyCode] IS NULL) OR ([CurrencyCode] = @Original_CurrencyCode)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)));
SELECT CountryCode, Name, Territory, OriginId, CultureId, CurrencyCode, ActiveFlag FROM Country WHERE (CountryCode = @CountryCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Territory" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Territory" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Territory" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CultureId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CurrencyCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CountryCode" DataSetColumn="CountryCode" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Territory" DataSetColumn="Territory" />
              <Mapping SourceColumn="OriginId" DataSetColumn="OriginId" />
              <Mapping SourceColumn="CultureId" DataSetColumn="CultureId" />
              <Mapping SourceColumn="CurrencyCode" DataSetColumn="CurrencyCode" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CultureTableAdapter" GeneratorDataComponentClassName="CultureTableAdapter" Name="Culture" UserDataComponentName="CultureTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Culture" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Culture] WHERE (([CultureId] = @Original_CultureId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Culture] ([CultureId], [Name]) VALUES (@CultureId, @Name);
SELECT CultureId, Name FROM Culture WHERE (CultureId = @CultureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CultureId, Name FROM dbo.Culture</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Culture] SET [CultureId] = @CultureId, [Name] = @Name WHERE (([CultureId] = @Original_CultureId) AND ([Name] = @Original_Name));
SELECT CultureId, Name FROM Culture WHERE (CultureId = @CultureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_CultureId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CultureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CultureId" DataSetColumn="CultureId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CurrencyTableAdapter" GeneratorDataComponentClassName="CurrencyTableAdapter" Name="Currency" UserDataComponentName="CurrencyTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Currency" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Currency] WHERE (([CurrencyCode] = @Original_CurrencyCode) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Currency] ([CurrencyCode], [Name]) VALUES (@CurrencyCode, @Name);
SELECT CurrencyCode, Name FROM Currency WHERE (CurrencyCode = @CurrencyCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CurrencyCode, Name FROM dbo.Currency</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Currency] SET [CurrencyCode] = @CurrencyCode, [Name] = @Name WHERE (([CurrencyCode] = @Original_CurrencyCode) AND ([Name] = @Original_Name));
SELECT CurrencyCode, Name FROM Currency WHERE (CurrencyCode = @CurrencyCode)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_CurrencyCode" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="CurrencyCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CurrencyCode" DataSetColumn="CurrencyCode" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerTableAdapter" GeneratorDataComponentClassName="CustomerTableAdapter" Name="Customer" UserDataComponentName="CustomerTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Customer" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Customer] WHERE (([CustomerId] = @Original_CustomerId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Customer] ([AccountNumber], [Name], [Demographics], [CountryCode], [PreferredShipMethod], [PreferredPaymentTerm], [VergiDairesi], [VergiNo], [ModifiedDate], [ModifiedBy]) VALUES (@AccountNumber, @Name, @Demographics, @CountryCode, @PreferredShipMethod, @PreferredPaymentTerm, @VergiDairesi, @VergiNo, @ModifiedDate, @ModifiedBy);
SELECT CustomerId, AccountNumber, Name, Demographics, CountryCode, PreferredShipMethod, PreferredPaymentTerm, VergiDairesi, VergiNo, ModifiedDate, ModifiedBy, TS FROM Customer WHERE (CustomerId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@Demographics" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="Demographics" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiDairesi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiDairesi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT CustomerId, AccountNumber, Name, Demographics, CountryCode, PreferredShipMethod, PreferredPaymentTerm, VergiDairesi, VergiNo, ModifiedDate, ModifiedBy, TS FROM dbo.Customer</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Customer] SET [AccountNumber] = @AccountNumber, [Name] = @Name, [Demographics] = @Demographics, [CountryCode] = @CountryCode, [PreferredShipMethod] = @PreferredShipMethod, [PreferredPaymentTerm] = @PreferredPaymentTerm, [VergiDairesi] = @VergiDairesi, [VergiNo] = @VergiNo, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([CustomerId] = @Original_CustomerId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT CustomerId, AccountNumber, Name, Demographics, CountryCode, PreferredShipMethod, PreferredPaymentTerm, VergiDairesi, VergiNo, ModifiedDate, ModifiedBy, TS FROM Customer WHERE (CustomerId = @CustomerId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Xml" Direction="Input" ParameterName="@Demographics" Precision="0" ProviderType="Xml" Scale="0" Size="0" SourceColumn="Demographics" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@CountryCode" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="CountryCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@PreferredShipMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PreferredShipMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiDairesi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiDairesi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@VergiNo" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="VergiNo" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="CustomerId" ColumnName="CustomerId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Demographics" DataSetColumn="Demographics" />
              <Mapping SourceColumn="CountryCode" DataSetColumn="CountryCode" />
              <Mapping SourceColumn="PreferredShipMethod" DataSetColumn="PreferredShipMethod" />
              <Mapping SourceColumn="PreferredPaymentTerm" DataSetColumn="PreferredPaymentTerm" />
              <Mapping SourceColumn="VergiDairesi" DataSetColumn="VergiDairesi" />
              <Mapping SourceColumn="VergiNo" DataSetColumn="VergiNo" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="CustomerBrandTableAdapter" GeneratorDataComponentClassName="CustomerBrandTableAdapter" Name="CustomerBrand" UserDataComponentName="CustomerBrandTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.CustomerBrand" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[CustomerBrand] WHERE (([BrandId] = @Original_BrandId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_CustomerId = 1 AND [CustomerId] IS NULL) OR ([CustomerId] = @Original_CustomerId)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BrandId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BrandId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[CustomerBrand] ([Name], [CustomerId], [StartDate], [EndDate]) VALUES (@Name, @CustomerId, @StartDate, @EndDate);
SELECT BrandId, Name, CustomerId, StartDate, EndDate FROM CustomerBrand WHERE (BrandId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT BrandId, Name, CustomerId, StartDate, EndDate FROM dbo.CustomerBrand</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[CustomerBrand] SET [Name] = @Name, [CustomerId] = @CustomerId, [StartDate] = @StartDate, [EndDate] = @EndDate WHERE (([BrandId] = @Original_BrandId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_CustomerId = 1 AND [CustomerId] IS NULL) OR ([CustomerId] = @Original_CustomerId)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)));
SELECT BrandId, Name, CustomerId, StartDate, EndDate FROM CustomerBrand WHERE (BrandId = @BrandId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_BrandId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="BrandId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_CustomerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="CustomerId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="BrandId" ColumnName="BrandId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@BrandId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="BrandId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="BrandId" DataSetColumn="BrandId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="CustomerId" DataSetColumn="CustomerId" />
              <Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
              <Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DeliveryTermTableAdapter" GeneratorDataComponentClassName="DeliveryTermTableAdapter" Name="DeliveryTerm" UserDataComponentName="DeliveryTermTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.DeliveryTerm" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[DeliveryTerm] WHERE (([DeliveryTermId] = @Original_DeliveryTermId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[DeliveryTerm] ([Name]) VALUES (@Name);
SELECT DeliveryTermId, Name FROM DeliveryTerm WHERE (DeliveryTermId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT DeliveryTermId, Name FROM dbo.DeliveryTerm</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[DeliveryTerm] SET [Name] = @Name WHERE (([DeliveryTermId] = @Original_DeliveryTermId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT DeliveryTermId, Name FROM DeliveryTerm WHERE (DeliveryTermId = @DeliveryTermId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="DeliveryTermId" ColumnName="DeliveryTermId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@DeliveryTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="DeliveryTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DeliveryTermId" DataSetColumn="DeliveryTermId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="DepartmentTableAdapter" GeneratorDataComponentClassName="DepartmentTableAdapter" Name="Department" UserDataComponentName="DepartmentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Department" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Department] WHERE (([DepartmentId] = @Original_DepartmentId) AND ([Name] = @Original_Name) AND ([GroupName] = @Original_GroupName))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Department] ([Name], [GroupName]) VALUES (@Name, @GroupName);
SELECT DepartmentId, Name, GroupName FROM Department WHERE (DepartmentId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT DepartmentId, Name, GroupName FROM dbo.Department</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Department] SET [Name] = @Name, [GroupName] = @GroupName WHERE (([DepartmentId] = @Original_DepartmentId) AND ([Name] = @Original_Name) AND ([GroupName] = @Original_GroupName));
SELECT DepartmentId, Name, GroupName FROM Department WHERE (DepartmentId = @DepartmentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_GroupName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="GroupName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="DepartmentId" ColumnName="DepartmentId" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="DepartmentId" DataSetColumn="DepartmentId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="GroupName" DataSetColumn="GroupName" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ExpensePercentageTableAdapter" GeneratorDataComponentClassName="ExpensePercentageTableAdapter" Name="ExpensePercentage" UserDataComponentName="ExpensePercentageTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ExpensePercentage" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ExpensePercentage] WHERE (([ExpensePercentageId] = @Original_ExpensePercentageId) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Percentage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ExpensePercentage] ([Percentage], [Name]) VALUES (@Percentage, @Name);
SELECT ExpensePercentageId, Percentage, Name FROM ExpensePercentage WHERE (ExpensePercentageId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ExpensePercentageId, Percentage, Name FROM dbo.ExpensePercentage</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ExpensePercentage] SET [Percentage] = @Percentage, [Name] = @Name WHERE (([ExpensePercentageId] = @Original_ExpensePercentageId) AND ((@IsNull_Percentage = 1 AND [Percentage] IS NULL) OR ([Percentage] = @Original_Percentage)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT ExpensePercentageId, Percentage, Name FROM ExpensePercentage WHERE (ExpensePercentageId = @ExpensePercentageId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Percentage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Single" Direction="Input" ParameterName="@Original_Percentage" Precision="0" ProviderType="Real" Scale="0" Size="0" SourceColumn="Percentage" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ExpensePercentageId" ColumnName="ExpensePercentageId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@ExpensePercentageId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="ExpensePercentageId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ExpensePercentageId" DataSetColumn="ExpensePercentageId" />
              <Mapping SourceColumn="Percentage" DataSetColumn="Percentage" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="HareketTipiTableAdapter" GeneratorDataComponentClassName="HareketTipiTableAdapter" Name="HareketTipi" UserDataComponentName="HareketTipiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.HareketTipi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[HareketTipi] WHERE (([HareketTipiId] = @Original_HareketTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[HareketTipi] ([Name]) VALUES (@Name);
SELECT HareketTipiId, Name FROM HareketTipi WHERE (HareketTipiId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT HareketTipiId, Name FROM dbo.HareketTipi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[HareketTipi] SET [Name] = @Name WHERE (([HareketTipiId] = @Original_HareketTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT HareketTipiId, Name FROM HareketTipi WHERE (HareketTipiId = @HareketTipiId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="HareketTipiId" ColumnName="HareketTipiId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@HareketTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="HareketTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="HareketTipiId" DataSetColumn="HareketTipiId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LocationTableAdapter" GeneratorDataComponentClassName="LocationTableAdapter" Name="Location" UserDataComponentName="LocationTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Location" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Location] WHERE (([LocationId] = @Original_LocationId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Location] ([Name], [Type]) VALUES (@Name, @Type);
SELECT LocationId, Name, Type FROM Location WHERE (LocationId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT LocationId, Name, Type FROM dbo.Location</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Location] SET [Name] = @Name, [Type] = @Type WHERE (([LocationId] = @Original_LocationId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_Type = 1 AND [Type] IS NULL) OR ([Type] = @Original_Type)));
SELECT LocationId, Name, Type FROM Location WHERE (LocationId = @LocationId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Type" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Type" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Type" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="LocationId" ColumnName="LocationId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="LocationId" DataSetColumn="LocationId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="Type" DataSetColumn="Type" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="OriginTableAdapter" GeneratorDataComponentClassName="OriginTableAdapter" Name="Origin" UserDataComponentName="OriginTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Origin" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Origin] WHERE (([OriginId] = @Original_OriginId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Origin] ([Name]) VALUES (@Name);
SELECT OriginId, Name FROM Origin WHERE (OriginId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT OriginId, Name FROM dbo.Origin</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Origin] SET [Name] = @Name WHERE (([OriginId] = @Original_OriginId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT OriginId, Name FROM Origin WHERE (OriginId = @OriginId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_OriginId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="OriginId" ColumnName="OriginId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@OriginId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="OriginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="OriginId" DataSetColumn="OriginId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PaymentTermTableAdapter" GeneratorDataComponentClassName="PaymentTermTableAdapter" Name="PaymentTerm" UserDataComponentName="PaymentTermTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.PaymentTerm" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[PaymentTerm] WHERE (([PaymentTermId] = @Original_PaymentTermId) AND ((@IsNull_PaymentMethod = 1 AND [PaymentMethod] IS NULL) OR ([PaymentMethod] = @Original_PaymentMethod)) AND ((@IsNull_PaymentTerm = 1 AND [PaymentTerm] IS NULL) OR ([PaymentTerm] = @Original_PaymentTerm)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentTerm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[PaymentTerm] ([PaymentMethod], [PaymentTerm]) VALUES (@PaymentMethod, @PaymentTerm);
SELECT PaymentTermId, PaymentMethod, PaymentTerm FROM PaymentTerm WHERE (PaymentTermId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT PaymentTermId, PaymentMethod, PaymentTerm FROM dbo.PaymentTerm</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[PaymentTerm] SET [PaymentMethod] = @PaymentMethod, [PaymentTerm] = @PaymentTerm WHERE (([PaymentTermId] = @Original_PaymentTermId) AND ((@IsNull_PaymentMethod = 1 AND [PaymentMethod] IS NULL) OR ([PaymentMethod] = @Original_PaymentMethod)) AND ((@IsNull_PaymentTerm = 1 AND [PaymentTerm] IS NULL) OR ([PaymentTerm] = @Original_PaymentTerm)));
SELECT PaymentTermId, PaymentMethod, PaymentTerm FROM PaymentTerm WHERE (PaymentTermId = @PaymentTermId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PaymentTerm" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_PaymentTerm" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="PaymentTerm" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="PaymentTermId" ColumnName="PaymentTermId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@PaymentTermId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="PaymentTermId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="PaymentTermId" DataSetColumn="PaymentTermId" />
              <Mapping SourceColumn="PaymentMethod" DataSetColumn="PaymentMethod" />
              <Mapping SourceColumn="PaymentTerm" DataSetColumn="PaymentTerm" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductTableAdapter" GeneratorDataComponentClassName="ProductTableAdapter" Name="Product" UserDataComponentName="ProductTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Product" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Product] WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Product] ([StokAdi], [StokKoduTipiId], [StokArtikeli], [StokKodu], [StokRenk], [GenelStokKalemi], [FAO], [Notes], [MakeFlag], [FinishedGoodsFlag], [SafetyStockLevel], [ReorderPoint], [StandardCost], [ListPrice], [DaysToManufacture], [ProductSubcategoryId], [ProductModelId], [DiscontinuedDate], [ModifiedDate], [ModifiedBy]) VALUES (@StokAdi, @StokKoduTipiId, @StokArtikeli, @StokKodu, @StokRenk, @GenelStokKalemi, @FAO, @Notes, @MakeFlag, @FinishedGoodsFlag, @SafetyStockLevel, @ReorderPoint, @StandardCost, @ListPrice, @DaysToManufacture, @ProductSubcategoryId, @ProductModelId, @DiscontinuedDate, @ModifiedDate, @ModifiedBy);
SELECT ProductId, StokAdi, StokKoduTipiId, StokArtikeli, StokKodu, StokRenk, GenelStokKalemi, FAO, Notes, MakeFlag, FinishedGoodsFlag, SafetyStockLevel, ReorderPoint, StandardCost, ListPrice, DaysToManufacture, ProductSubcategoryId, ProductModelId, DiscontinuedDate, ModifiedDate, ModifiedBy, TS FROM Product WHERE (ProductId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokAdi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokAdi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@StokKoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokKoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@GenelStokKalemi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="GenelStokKalemi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@FAO" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="FAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MakeFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MakeFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@FinishedGoodsFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="FinishedGoodsFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SafetyStockLevel" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SafetyStockLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DaysToManufacture" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DaysToManufacture" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DiscontinuedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DiscontinuedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductId, StokAdi, StokKoduTipiId, StokArtikeli, StokKodu, StokRenk, GenelStokKalemi, FAO, Notes, MakeFlag, FinishedGoodsFlag, SafetyStockLevel, ReorderPoint, StandardCost, ListPrice, DaysToManufacture, ProductSubcategoryId, ProductModelId, DiscontinuedDate, ModifiedDate, ModifiedBy, TS FROM dbo.Product</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Product] SET [StokAdi] = @StokAdi, [StokKoduTipiId] = @StokKoduTipiId, [StokArtikeli] = @StokArtikeli, [StokKodu] = @StokKodu, [StokRenk] = @StokRenk, [GenelStokKalemi] = @GenelStokKalemi, [FAO] = @FAO, [Notes] = @Notes, [MakeFlag] = @MakeFlag, [FinishedGoodsFlag] = @FinishedGoodsFlag, [SafetyStockLevel] = @SafetyStockLevel, [ReorderPoint] = @ReorderPoint, [StandardCost] = @StandardCost, [ListPrice] = @ListPrice, [DaysToManufacture] = @DaysToManufacture, [ProductSubcategoryId] = @ProductSubcategoryId, [ProductModelId] = @ProductModelId, [DiscontinuedDate] = @DiscontinuedDate, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([ProductId] = @Original_ProductId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT ProductId, StokAdi, StokKoduTipiId, StokArtikeli, StokKodu, StokRenk, GenelStokKalemi, FAO, Notes, MakeFlag, FinishedGoodsFlag, SafetyStockLevel, ReorderPoint, StandardCost, ListPrice, DaysToManufacture, ProductSubcategoryId, ProductModelId, DiscontinuedDate, ModifiedDate, ModifiedBy, TS FROM Product WHERE (ProductId = @ProductId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokAdi" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokAdi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@StokKoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokKoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokArtikeli" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokArtikeli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokKodu" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokKodu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@StokRenk" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="StokRenk" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@GenelStokKalemi" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="GenelStokKalemi" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@FAO" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="FAO" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Notes" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Notes" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@MakeFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="MakeFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@FinishedGoodsFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="FinishedGoodsFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@SafetyStockLevel" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="SafetyStockLevel" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@ReorderPoint" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ReorderPoint" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@StandardCost" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="StandardCost" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@ListPrice" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="ListPrice" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@DaysToManufacture" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DaysToManufacture" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductModelId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductModelId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DiscontinuedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DiscontinuedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductId" ColumnName="ProductId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductId" DataSetColumn="ProductId" />
              <Mapping SourceColumn="StokAdi" DataSetColumn="StokAdi" />
              <Mapping SourceColumn="StokKoduTipiId" DataSetColumn="StokKoduTipiId" />
              <Mapping SourceColumn="StokArtikeli" DataSetColumn="StokArtikeli" />
              <Mapping SourceColumn="StokKodu" DataSetColumn="StokKodu" />
              <Mapping SourceColumn="StokRenk" DataSetColumn="StokRenk" />
              <Mapping SourceColumn="GenelStokKalemi" DataSetColumn="GenelStokKalemi" />
              <Mapping SourceColumn="FAO" DataSetColumn="FAO" />
              <Mapping SourceColumn="Notes" DataSetColumn="Notes" />
              <Mapping SourceColumn="MakeFlag" DataSetColumn="MakeFlag" />
              <Mapping SourceColumn="FinishedGoodsFlag" DataSetColumn="FinishedGoodsFlag" />
              <Mapping SourceColumn="SafetyStockLevel" DataSetColumn="SafetyStockLevel" />
              <Mapping SourceColumn="ReorderPoint" DataSetColumn="ReorderPoint" />
              <Mapping SourceColumn="StandardCost" DataSetColumn="StandardCost" />
              <Mapping SourceColumn="ListPrice" DataSetColumn="ListPrice" />
              <Mapping SourceColumn="DaysToManufacture" DataSetColumn="DaysToManufacture" />
              <Mapping SourceColumn="ProductSubcategoryId" DataSetColumn="ProductSubcategoryId" />
              <Mapping SourceColumn="ProductModelId" DataSetColumn="ProductModelId" />
              <Mapping SourceColumn="DiscontinuedDate" DataSetColumn="DiscontinuedDate" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductCategoryTableAdapter" GeneratorDataComponentClassName="ProductCategoryTableAdapter" Name="ProductCategory" UserDataComponentName="ProductCategoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductCategory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductCategory] WHERE (([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductCategory] ([Name]) VALUES (@Name);
SELECT ProductCategoryId, Name FROM ProductCategory WHERE (ProductCategoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductCategoryId, Name FROM dbo.ProductCategory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductCategory] SET [Name] = @Name WHERE (([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name));
SELECT ProductCategoryId, Name FROM ProductCategory WHERE (ProductCategoryId = @ProductCategoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductCategoryId" ColumnName="ProductCategoryId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductCategoryId" DataSetColumn="ProductCategoryId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ProductSubcategoryTableAdapter" GeneratorDataComponentClassName="ProductSubcategoryTableAdapter" Name="ProductSubcategory" UserDataComponentName="ProductSubcategoryTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ProductSubcategory" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ProductSubcategory] WHERE (([ProductSubcategoryId] = @Original_ProductSubcategoryId) AND ([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name) AND ((@IsNull_xWeight = 1 AND [xWeight] IS NULL) OR ([xWeight] = @Original_xWeight)) AND ((@IsNull_xUnitMeasureCode = 1 AND [xUnitMeasureCode] IS NULL) OR ([xUnitMeasureCode] = @Original_xUnitMeasureCode)) AND ((@IsNull_xWidth = 1 AND [xWidth] IS NULL) OR ([xWidth] = @Original_xWidth)) AND ((@IsNull_xQuality = 1 AND [xQuality] IS NULL) OR ([xQuality] = @Original_xQuality)) AND ((@IsNull_xComposition = 1 AND [xComposition] IS NULL) OR ([xComposition] = @Original_xComposition)) AND ((@IsNull_xThickness = 1 AND [xThickness] IS NULL) OR ([xThickness] = @Original_xThickness)) AND ((@IsNull_xBrand = 1 AND [xBrand] IS NULL) OR ([xBrand] = @Original_xBrand)) AND ((@IsNull_xColor = 1 AND [xColor] IS NULL) OR ([xColor] = @Original_xColor)) AND ((@IsNull_xOlcu = 1 AND [xOlcu] IS NULL) OR ([xOlcu] = @Original_xOlcu)) AND ((@IsNull_xHeight = 1 AND [xHeight] IS NULL) OR ([xHeight] = @Original_xHeight)) AND ((@IsNull_xArticle = 1 AND [xArticle] IS NULL) OR ([xArticle] = @Original_xArticle)) AND ((@IsNull_xKesimSekli = 1 AND [xKesimSekli] IS NULL) OR ([xKesimSekli] = @Original_xKesimSekli)) AND ((@IsNull_xCins = 1 AND [xCins] IS NULL) OR ([xCins] = @Original_xCins)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xUnitMeasureCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWidth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xQuality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xComposition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xThickness" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xBrand" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xOlcu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xHeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xArticle" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xKesimSekli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xCins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ProductSubcategory] ([ProductCategoryId], [Name], [xWeight], [xUnitMeasureCode], [xWidth], [xQuality], [xComposition], [xThickness], [xBrand], [xColor], [xOlcu], [xHeight], [xArticle], [xKesimSekli], [xCins]) VALUES (@ProductCategoryId, @Name, @xWeight, @xUnitMeasureCode, @xWidth, @xQuality, @xComposition, @xThickness, @xBrand, @xColor, @xOlcu, @xHeight, @xArticle, @xKesimSekli, @xCins);
SELECT ProductSubcategoryId, ProductCategoryId, Name, xWeight, xUnitMeasureCode, xWidth, xQuality, xComposition, xThickness, xBrand, xColor, xOlcu, xHeight, xArticle, xKesimSekli, xCins FROM ProductSubcategory WHERE (ProductSubcategoryId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ProductSubcategoryId, ProductCategoryId, Name, xWeight, xUnitMeasureCode, xWidth, xQuality, xComposition, xThickness, xBrand, xColor, xOlcu, xHeight, xArticle, xKesimSekli, xCins FROM dbo.ProductSubcategory</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ProductSubcategory] SET [ProductCategoryId] = @ProductCategoryId, [Name] = @Name, [xWeight] = @xWeight, [xUnitMeasureCode] = @xUnitMeasureCode, [xWidth] = @xWidth, [xQuality] = @xQuality, [xComposition] = @xComposition, [xThickness] = @xThickness, [xBrand] = @xBrand, [xColor] = @xColor, [xOlcu] = @xOlcu, [xHeight] = @xHeight, [xArticle] = @xArticle, [xKesimSekli] = @xKesimSekli, [xCins] = @xCins WHERE (([ProductSubcategoryId] = @Original_ProductSubcategoryId) AND ([ProductCategoryId] = @Original_ProductCategoryId) AND ([Name] = @Original_Name) AND ((@IsNull_xWeight = 1 AND [xWeight] IS NULL) OR ([xWeight] = @Original_xWeight)) AND ((@IsNull_xUnitMeasureCode = 1 AND [xUnitMeasureCode] IS NULL) OR ([xUnitMeasureCode] = @Original_xUnitMeasureCode)) AND ((@IsNull_xWidth = 1 AND [xWidth] IS NULL) OR ([xWidth] = @Original_xWidth)) AND ((@IsNull_xQuality = 1 AND [xQuality] IS NULL) OR ([xQuality] = @Original_xQuality)) AND ((@IsNull_xComposition = 1 AND [xComposition] IS NULL) OR ([xComposition] = @Original_xComposition)) AND ((@IsNull_xThickness = 1 AND [xThickness] IS NULL) OR ([xThickness] = @Original_xThickness)) AND ((@IsNull_xBrand = 1 AND [xBrand] IS NULL) OR ([xBrand] = @Original_xBrand)) AND ((@IsNull_xColor = 1 AND [xColor] IS NULL) OR ([xColor] = @Original_xColor)) AND ((@IsNull_xOlcu = 1 AND [xOlcu] IS NULL) OR ([xOlcu] = @Original_xOlcu)) AND ((@IsNull_xHeight = 1 AND [xHeight] IS NULL) OR ([xHeight] = @Original_xHeight)) AND ((@IsNull_xArticle = 1 AND [xArticle] IS NULL) OR ([xArticle] = @Original_xArticle)) AND ((@IsNull_xKesimSekli = 1 AND [xKesimSekli] IS NULL) OR ([xKesimSekli] = @Original_xKesimSekli)) AND ((@IsNull_xCins = 1 AND [xCins] IS NULL) OR ([xCins] = @Original_xCins)));
SELECT ProductSubcategoryId, ProductCategoryId, Name, xWeight, xUnitMeasureCode, xWidth, xQuality, xComposition, xThickness, xBrand, xColor, xOlcu, xHeight, xArticle, xKesimSekli, xCins FROM ProductSubcategory WHERE (ProductSubcategoryId = @ProductSubcategoryId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ProductCategoryId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ProductCategoryId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xUnitMeasureCode" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xUnitMeasureCode" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xUnitMeasureCode" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xWidth" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xWidth" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xWidth" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xQuality" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xQuality" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xQuality" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xComposition" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xComposition" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xComposition" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xThickness" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xThickness" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xThickness" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xBrand" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xBrand" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xBrand" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xColor" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xColor" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xColor" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xOlcu" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xOlcu" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xOlcu" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xHeight" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xHeight" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xHeight" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xArticle" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xArticle" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xArticle" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xKesimSekli" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xKesimSekli" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xKesimSekli" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_xCins" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_xCins" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="xCins" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ProductSubcategoryId" ColumnName="ProductSubcategoryId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ProductSubcategoryId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ProductSubcategoryId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ProductSubcategoryId" DataSetColumn="ProductSubcategoryId" />
              <Mapping SourceColumn="ProductCategoryId" DataSetColumn="ProductCategoryId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="xWeight" DataSetColumn="xWeight" />
              <Mapping SourceColumn="xUnitMeasureCode" DataSetColumn="xUnitMeasureCode" />
              <Mapping SourceColumn="xWidth" DataSetColumn="xWidth" />
              <Mapping SourceColumn="xQuality" DataSetColumn="xQuality" />
              <Mapping SourceColumn="xComposition" DataSetColumn="xComposition" />
              <Mapping SourceColumn="xThickness" DataSetColumn="xThickness" />
              <Mapping SourceColumn="xBrand" DataSetColumn="xBrand" />
              <Mapping SourceColumn="xColor" DataSetColumn="xColor" />
              <Mapping SourceColumn="xOlcu" DataSetColumn="xOlcu" />
              <Mapping SourceColumn="xHeight" DataSetColumn="xHeight" />
              <Mapping SourceColumn="xArticle" DataSetColumn="xArticle" />
              <Mapping SourceColumn="xKesimSekli" DataSetColumn="xKesimSekli" />
              <Mapping SourceColumn="xCins" DataSetColumn="xCins" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesPersonTableAdapter" GeneratorDataComponentClassName="SalesPersonTableAdapter" Name="SalesPerson" UserDataComponentName="SalesPersonTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesPerson" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesPerson] WHERE (([SalesPersonId] = @Original_SalesPersonId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesPerson] ([SalesPersonId], [SalesQuota], [Bonus], [CommissionPct], [SalesYTD], [SalesLastYear], [ModifiedDate], [ModifiedBy]) VALUES (@SalesPersonId, @SalesQuota, @Bonus, @CommissionPct, @SalesYTD, @SalesLastYear, @ModifiedDate, @ModifiedBy);
SELECT SalesPersonId, SalesQuota, Bonus, CommissionPct, SalesYTD, SalesLastYear, ModifiedDate, ModifiedBy, TS FROM SalesPerson WHERE (SalesPersonId = @SalesPersonId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesQuota" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesQuota" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Bonus" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Bonus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesYTD" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesYTD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesLastYear" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesLastYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesPersonId, SalesQuota, Bonus, CommissionPct, SalesYTD, SalesLastYear, ModifiedDate, ModifiedBy, TS FROM dbo.SalesPerson</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesPerson] SET [SalesPersonId] = @SalesPersonId, [SalesQuota] = @SalesQuota, [Bonus] = @Bonus, [CommissionPct] = @CommissionPct, [SalesYTD] = @SalesYTD, [SalesLastYear] = @SalesLastYear, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesPersonId] = @Original_SalesPersonId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesPersonId, SalesQuota, Bonus, CommissionPct, SalesYTD, SalesLastYear, ModifiedDate, ModifiedBy, TS FROM SalesPerson WHERE (SalesPersonId = @SalesPersonId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesQuota" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesQuota" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Bonus" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Bonus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@CommissionPct" Precision="0" ProviderType="SmallMoney" Scale="0" Size="0" SourceColumn="CommissionPct" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesYTD" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesYTD" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@SalesLastYear" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="SalesLastYear" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesPersonId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesPersonId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesPersonId" DataSetColumn="SalesPersonId" />
              <Mapping SourceColumn="SalesQuota" DataSetColumn="SalesQuota" />
              <Mapping SourceColumn="Bonus" DataSetColumn="Bonus" />
              <Mapping SourceColumn="CommissionPct" DataSetColumn="CommissionPct" />
              <Mapping SourceColumn="SalesYTD" DataSetColumn="SalesYTD" />
              <Mapping SourceColumn="SalesLastYear" DataSetColumn="SalesLastYear" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ShelfTableAdapter" GeneratorDataComponentClassName="ShelfTableAdapter" Name="Shelf" UserDataComponentName="ShelfTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Shelf" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Shelf] WHERE (([ShelfId] = @Original_ShelfId) AND ((@IsNull_LocationId = 1 AND [LocationId] IS NULL) OR ([LocationId] = @Original_LocationId)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LocationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Shelf] ([LocationId], [Name], [ActiveFlag]) VALUES (@LocationId, @Name, @ActiveFlag);
SELECT ShelfId, LocationId, Name, ActiveFlag FROM Shelf WHERE (ShelfId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ShelfId, LocationId, Name, ActiveFlag FROM dbo.Shelf</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Shelf] SET [LocationId] = @LocationId, [Name] = @Name, [ActiveFlag] = @ActiveFlag WHERE (([ShelfId] = @Original_ShelfId) AND ((@IsNull_LocationId = 1 AND [LocationId] IS NULL) OR ([LocationId] = @Original_LocationId)) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)) AND ((@IsNull_ActiveFlag = 1 AND [ActiveFlag] IS NULL) OR ([ActiveFlag] = @Original_ActiveFlag)));
SELECT ShelfId, LocationId, Name, ActiveFlag FROM Shelf WHERE (ShelfId = @ShelfId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LocationId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_LocationId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="LocationId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_ActiveFlag" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@Original_ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ShelfId" ColumnName="ShelfId" DataSourceName="" DataTypeServer="smallint" DbType="Int16" Direction="Input" ParameterName="@ShelfId" Precision="0" ProviderType="SmallInt" Scale="0" Size="2" SourceColumn="ShelfId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ShelfId" DataSetColumn="ShelfId" />
              <Mapping SourceColumn="LocationId" DataSetColumn="LocationId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="ShipMethodTableAdapter" GeneratorDataComponentClassName="ShipMethodTableAdapter" Name="ShipMethod" UserDataComponentName="ShipMethodTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.ShipMethod" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[ShipMethod] WHERE (([ShipMethodId] = @Original_ShipMethodId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[ShipMethod] ([Name]) VALUES (@Name);
SELECT ShipMethodId, Name FROM ShipMethod WHERE (ShipMethodId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT ShipMethodId, Name FROM dbo.ShipMethod</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[ShipMethod] SET [Name] = @Name WHERE (([ShipMethodId] = @Original_ShipMethodId) AND ([Name] = @Original_Name));
SELECT ShipMethodId, Name FROM ShipMethod WHERE (ShipMethodId = @ShipMethodId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="ShipMethodId" ColumnName="ShipMethodId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@ShipMethodId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="ShipMethodId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="ShipMethodId" DataSetColumn="ShipMethodId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="StokkoduTipiTableAdapter" GeneratorDataComponentClassName="StokkoduTipiTableAdapter" Name="StokkoduTipi" UserDataComponentName="StokkoduTipiTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.StokkoduTipi" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[StokkoduTipi] WHERE (([StokkoduTipiId] = @Original_StokkoduTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[StokkoduTipi] ([Name]) VALUES (@Name);
SELECT StokkoduTipiId, Name FROM StokkoduTipi WHERE (StokkoduTipiId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT StokkoduTipiId, Name FROM dbo.StokkoduTipi</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[StokkoduTipi] SET [Name] = @Name WHERE (([StokkoduTipiId] = @Original_StokkoduTipiId) AND ((@IsNull_Name = 1 AND [Name] IS NULL) OR ([Name] = @Original_Name)));
SELECT StokkoduTipiId, Name FROM StokkoduTipi WHERE (StokkoduTipiId = @StokkoduTipiId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@Original_StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="StokkoduTipiId" ColumnName="StokkoduTipiId" DataSourceName="" DataTypeServer="tinyint" DbType="Byte" Direction="Input" ParameterName="@StokkoduTipiId" Precision="0" ProviderType="TinyInt" Scale="0" Size="1" SourceColumn="StokkoduTipiId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="StokkoduTipiId" DataSetColumn="StokkoduTipiId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="UnitMeasureTableAdapter" GeneratorDataComponentClassName="UnitMeasureTableAdapter" Name="UnitMeasure" UserDataComponentName="UnitMeasureTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.UnitMeasure" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[UnitMeasure] WHERE (([UnitMeasureId] = @Original_UnitMeasureId) AND ([Name] = @Original_Name))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[UnitMeasure] ([UnitMeasureId], [Name]) VALUES (@UnitMeasureId, @Name);
SELECT UnitMeasureId, Name FROM UnitMeasure WHERE (UnitMeasureId = @UnitMeasureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT UnitMeasureId, Name FROM dbo.UnitMeasure</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[UnitMeasure] SET [UnitMeasureId] = @UnitMeasureId, [Name] = @Name WHERE (([UnitMeasureId] = @Original_UnitMeasureId) AND ([Name] = @Original_Name));
SELECT UnitMeasureId, Name FROM UnitMeasure WHERE (UnitMeasureId = @UnitMeasureId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UnitMeasureId" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UnitMeasureId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="UnitMeasureId" DataSetColumn="UnitMeasureId" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="VendorTableAdapter" GeneratorDataComponentClassName="VendorTableAdapter" Name="Vendor" UserDataComponentName="VendorTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Vendor" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Vendor] WHERE (([VendorId] = @Original_VendorId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Vendor] ([AccountNumber], [Name], [CreditRating], [PreferredVendorStatus], [PreferredPaymentTerm], [ActiveFlag], [ModifiedDate], [ModifiedBy]) VALUES (@AccountNumber, @Name, @CreditRating, @PreferredVendorStatus, @PreferredPaymentTerm, @ActiveFlag, @ModifiedDate, @ModifiedBy);
SELECT VendorId, AccountNumber, Name, CreditRating, PreferredVendorStatus, PreferredPaymentTerm, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Vendor WHERE (VendorId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT VendorId, AccountNumber, Name, CreditRating, PreferredVendorStatus, PreferredPaymentTerm, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM dbo.Vendor</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Vendor] SET [AccountNumber] = @AccountNumber, [Name] = @Name, [CreditRating] = @CreditRating, [PreferredVendorStatus] = @PreferredVendorStatus, [PreferredPaymentTerm] = @PreferredPaymentTerm, [ActiveFlag] = @ActiveFlag, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([VendorId] = @Original_VendorId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT VendorId, AccountNumber, Name, CreditRating, PreferredVendorStatus, PreferredPaymentTerm, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Vendor WHERE (VendorId = @VendorId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@AccountNumber" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="AccountNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@CreditRating" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="CreditRating" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@PreferredVendorStatus" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="PreferredVendorStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Byte" Direction="Input" ParameterName="@PreferredPaymentTerm" Precision="0" ProviderType="TinyInt" Scale="0" Size="0" SourceColumn="PreferredPaymentTerm" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_VendorId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="VendorId" ColumnName="VendorId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@VendorId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="VendorId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="VendorId" DataSetColumn="VendorId" />
              <Mapping SourceColumn="AccountNumber" DataSetColumn="AccountNumber" />
              <Mapping SourceColumn="Name" DataSetColumn="Name" />
              <Mapping SourceColumn="CreditRating" DataSetColumn="CreditRating" />
              <Mapping SourceColumn="PreferredVendorStatus" DataSetColumn="PreferredVendorStatus" />
              <Mapping SourceColumn="PreferredPaymentTerm" DataSetColumn="PreferredPaymentTerm" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="SalesAgentTableAdapter" GeneratorDataComponentClassName="SalesAgentTableAdapter" Name="SalesAgent" UserDataComponentName="SalesAgentTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.SalesAgent" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[SalesAgent] WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[SalesAgent] ([ContactId], [Balance], [ModifiedDate], [ModifiedBy]) VALUES (@ContactId, @Balance, @ModifiedDate, @ModifiedBy);
SELECT SalesAgentId, ContactId, Balance, ModifiedDate, ModifiedBy, TS FROM SalesAgent WHERE (SalesAgentId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT SalesAgentId, ContactId, Balance, ModifiedDate, ModifiedBy, TS FROM dbo.SalesAgent</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[SalesAgent] SET [ContactId] = @ContactId, [Balance] = @Balance, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([SalesAgentId] = @Original_SalesAgentId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT SalesAgentId, ContactId, Balance, ModifiedDate, ModifiedBy, TS FROM SalesAgent WHERE (SalesAgentId = @SalesAgentId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Currency" Direction="Input" ParameterName="@Balance" Precision="0" ProviderType="Money" Scale="0" Size="0" SourceColumn="Balance" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="SalesAgentId" ColumnName="SalesAgentId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@SalesAgentId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="SalesAgentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="SalesAgentId" DataSetColumn="SalesAgentId" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="Balance" DataSetColumn="Balance" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="LookupTablesTableAdapter" GeneratorDataComponentClassName="LookupTablesTableAdapter" Name="LookupTables" UserDataComponentName="LookupTablesTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.LookupTables" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[LookupTables] WHERE (([TableName] = @Original_TableName) AND ((@IsNull_Table2Name = 1 AND [Table2Name] IS NULL) OR ([Table2Name] = @Original_Table2Name)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Table2Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[LookupTables] ([TableName], [Table2Name]) VALUES (@TableName, @Table2Name);
SELECT TableName, Table2Name FROM LookupTables WHERE (TableName = @TableName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT TableName, Table2Name FROM dbo.LookupTables</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[LookupTables] SET [TableName] = @TableName, [Table2Name] = @Table2Name WHERE (([TableName] = @Original_TableName) AND ((@IsNull_Table2Name = 1 AND [Table2Name] IS NULL) OR ([Table2Name] = @Original_Table2Name)));
SELECT TableName, Table2Name FROM LookupTables WHERE (TableName = @TableName)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_TableName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="TableName" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Table2Name" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Table2Name" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Table2Name" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="TableName" DataSetColumn="TableName" />
              <Mapping SourceColumn="Table2Name" DataSetColumn="Table2Name" />
            </Mappings>
            <Sources />
          </TableAdapter>
          <TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="EmployeeTableAdapter" GeneratorDataComponentClassName="EmployeeTableAdapter" Name="Employee" UserDataComponentName="EmployeeTableAdapter">
            <MainSource>
              <DbSource ConnectionRef="Karbel4ConnectionString (Settings)" DbObjectName="Karbel4.dbo.Employee" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
                <DeleteCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>DELETE FROM [dbo].[Employee] WHERE (([EmployeeId] = @Original_EmployeeId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)))</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                    </Parameters>
                  </DbCommand>
                </DeleteCommand>
                <InsertCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>INSERT INTO [dbo].[Employee] ([ContactId], [LoginId], [ManagerId], [DepartmentId], [Title], [BirthDate], [MaritalStatus], [Gender], [ActiveFlag], [ModifiedDate], [ModifiedBy]) VALUES (@ContactId, @LoginId, @ManagerId, @DepartmentId, @Title, @BirthDate, @MaritalStatus, @Gender, @ActiveFlag, @ModifiedDate, @ModifiedBy);
SELECT EmployeeId, ContactId, LoginId, ManagerId, DepartmentId, Title, BirthDate, MaritalStatus, Gender, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Employee WHERE (EmployeeId = SCOPE_IDENTITY())</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LoginId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LoginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ManagerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@MaritalStatus" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </InsertCommand>
                <SelectCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>SELECT EmployeeId, ContactId, LoginId, ManagerId, DepartmentId, Title, BirthDate, MaritalStatus, Gender, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM dbo.Employee</CommandText>
                    <Parameters />
                  </DbCommand>
                </SelectCommand>
                <UpdateCommand>
                  <DbCommand CommandType="Text" ModifiedByUser="false">
                    <CommandText>UPDATE [dbo].[Employee] SET [ContactId] = @ContactId, [LoginId] = @LoginId, [ManagerId] = @ManagerId, [DepartmentId] = @DepartmentId, [Title] = @Title, [BirthDate] = @BirthDate, [MaritalStatus] = @MaritalStatus, [Gender] = @Gender, [ActiveFlag] = @ActiveFlag, [ModifiedDate] = @ModifiedDate, [ModifiedBy] = @ModifiedBy WHERE (([EmployeeId] = @Original_EmployeeId) AND ((@IsNull_TS = 1 AND [TS] IS NULL) OR ([TS] = @Original_TS)));
SELECT EmployeeId, ContactId, LoginId, ManagerId, DepartmentId, Title, BirthDate, MaritalStatus, Gender, ActiveFlag, ModifiedDate, ModifiedBy, TS FROM Employee WHERE (EmployeeId = @EmployeeId)</CommandText>
                    <Parameters>
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ContactId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ContactId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LoginId" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LoginId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ManagerId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ManagerId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@DepartmentId" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="DepartmentId" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Title" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Title" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@BirthDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="BirthDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@MaritalStatus" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="MaritalStatus" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Boolean" Direction="Input" ParameterName="@ActiveFlag" Precision="0" ProviderType="Bit" Scale="0" Size="0" SourceColumn="ActiveFlag" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@ModifiedDate" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="ModifiedDate" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@ModifiedBy" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="ModifiedBy" SourceColumnNullMapping="false" SourceVersion="Current" />
                      <Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_TS" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="true" SourceVersion="Original" />
                      <Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Binary" Direction="Input" ParameterName="@Original_TS" Precision="0" ProviderType="Timestamp" Scale="0" Size="0" SourceColumn="TS" SourceColumnNullMapping="false" SourceVersion="Original" />
                      <Parameter AllowDbNull="false" AutogeneratedName="EmployeeId" ColumnName="EmployeeId" DataSourceName="" DataTypeServer="int" DbType="Int32" Direction="Input" ParameterName="@EmployeeId" Precision="0" ProviderType="Int" Scale="0" Size="4" SourceColumn="EmployeeId" SourceColumnNullMapping="false" SourceVersion="Current" />
                    </Parameters>
                  </DbCommand>
                </UpdateCommand>
              </DbSource>
            </MainSource>
            <Mappings>
              <Mapping SourceColumn="EmployeeId" DataSetColumn="EmployeeId" />
              <Mapping SourceColumn="ContactId" DataSetColumn="ContactId" />
              <Mapping SourceColumn="LoginId" DataSetColumn="LoginId" />
              <Mapping SourceColumn="ManagerId" DataSetColumn="ManagerId" />
              <Mapping SourceColumn="DepartmentId" DataSetColumn="DepartmentId" />
              <Mapping SourceColumn="Title" DataSetColumn="Title" />
              <Mapping SourceColumn="BirthDate" DataSetColumn="BirthDate" />
              <Mapping SourceColumn="MaritalStatus" DataSetColumn="MaritalStatus" />
              <Mapping SourceColumn="Gender" DataSetColumn="Gender" />
              <Mapping SourceColumn="ActiveFlag" DataSetColumn="ActiveFlag" />
              <Mapping SourceColumn="ModifiedDate" DataSetColumn="ModifiedDate" />
              <Mapping SourceColumn="ModifiedBy" DataSetColumn="ModifiedBy" />
              <Mapping SourceColumn="TS" DataSetColumn="TS" />
            </Mappings>
            <Sources />
          </TableAdapter>
        </Tables>
        <Sources />
      </DataSource>
    </xs:appinfo>
  </xs:annotation>
  <xs:element name="DSrep" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:Generator_UserDSName="DSrep" msprop:Generator_DataSetName="DSrep" msprop:EnableTableAdapterManager="true">
    <xs:complexType>
      <xs:choice minOccurs="0" maxOccurs="unbounded">
        <xs:element name="AddressType" msprop:Generator_UserTableName="AddressType" msprop:Generator_RowDeletedName="AddressTypeRowDeleted" msprop:Generator_RowChangedName="AddressTypeRowChanged" msprop:Generator_RowClassName="AddressTypeRow" msprop:Generator_RowChangingName="AddressTypeRowChanging" msprop:Generator_RowEvArgName="AddressTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="AddressTypeRowChangeEventHandler" msprop:Generator_TableClassName="AddressTypeDataTable" msprop:Generator_TableVarName="tableAddressType" msprop:Generator_RowDeletingName="AddressTypeRowDeleting" msprop:Generator_TablePropName="AddressType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AddressTypeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="AddressTypeId" msprop:Generator_ColumnPropNameInRow="AddressTypeId" msprop:Generator_ColumnVarNameInTable="columnAddressTypeId" msprop:Generator_ColumnPropNameInTable="AddressTypeIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="AlisSekli" msprop:Generator_UserTableName="AlisSekli" msprop:Generator_RowDeletedName="AlisSekliRowDeleted" msprop:Generator_RowChangedName="AlisSekliRowChanged" msprop:Generator_RowClassName="AlisSekliRow" msprop:Generator_RowChangingName="AlisSekliRowChanging" msprop:Generator_RowEvArgName="AlisSekliRowChangeEvent" msprop:Generator_RowEvHandlerName="AlisSekliRowChangeEventHandler" msprop:Generator_TableClassName="AlisSekliDataTable" msprop:Generator_TableVarName="tableAlisSekli" msprop:Generator_RowDeletingName="AlisSekliRowDeleting" msprop:Generator_TablePropName="AlisSekli">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="AlisSekliId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="AlisSekliId" msprop:Generator_ColumnPropNameInRow="AlisSekliId" msprop:Generator_ColumnVarNameInTable="columnAlisSekliId" msprop:Generator_ColumnPropNameInTable="AlisSekliIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="BelgeTipi" msprop:Generator_UserTableName="BelgeTipi" msprop:Generator_RowDeletedName="BelgeTipiRowDeleted" msprop:Generator_RowChangedName="BelgeTipiRowChanged" msprop:Generator_RowClassName="BelgeTipiRow" msprop:Generator_RowChangingName="BelgeTipiRowChanging" msprop:Generator_RowEvArgName="BelgeTipiRowChangeEvent" msprop:Generator_RowEvHandlerName="BelgeTipiRowChangeEventHandler" msprop:Generator_TableClassName="BelgeTipiDataTable" msprop:Generator_TableVarName="tableBelgeTipi" msprop:Generator_RowDeletingName="BelgeTipiRowDeleting" msprop:Generator_TablePropName="BelgeTipi">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BelgeTipiId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="BelgeTipiId" msprop:Generator_ColumnPropNameInRow="BelgeTipiId" msprop:Generator_ColumnVarNameInTable="columnBelgeTipiId" msprop:Generator_ColumnPropNameInTable="BelgeTipiIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Carrier" msprop:Generator_UserTableName="Carrier" msprop:Generator_RowDeletedName="CarrierRowDeleted" msprop:Generator_RowChangedName="CarrierRowChanged" msprop:Generator_RowClassName="CarrierRow" msprop:Generator_RowChangingName="CarrierRowChanging" msprop:Generator_RowEvArgName="CarrierRowChangeEvent" msprop:Generator_RowEvHandlerName="CarrierRowChangeEventHandler" msprop:Generator_TableClassName="CarrierDataTable" msprop:Generator_TableVarName="tableCarrier" msprop:Generator_RowDeletingName="CarrierRowDeleting" msprop:Generator_TablePropName="Carrier">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CarrierId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CarrierId" msprop:Generator_ColumnPropNameInRow="CarrierId" msprop:Generator_ColumnVarNameInTable="columnCarrierId" msprop:Generator_ColumnPropNameInTable="CarrierIdColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Contact" msprop:Generator_UserTableName="Contact" msprop:Generator_RowDeletedName="ContactRowDeleted" msprop:Generator_RowChangedName="ContactRowChanged" msprop:Generator_RowClassName="ContactRow" msprop:Generator_RowChangingName="ContactRowChanging" msprop:Generator_RowEvArgName="ContactRowChangeEvent" msprop:Generator_RowEvHandlerName="ContactRowChangeEventHandler" msprop:Generator_TableClassName="ContactDataTable" msprop:Generator_TableVarName="tableContact" msprop:Generator_RowDeletingName="ContactRowDeleting" msprop:Generator_TablePropName="Contact">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ContactId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="8" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="FirstName" msprop:Generator_UserColumnName="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MiddleName" msprop:Generator_UserColumnName="MiddleName" msprop:Generator_ColumnPropNameInRow="MiddleName" msprop:Generator_ColumnVarNameInTable="columnMiddleName" msprop:Generator_ColumnPropNameInTable="MiddleNameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="LastName" msprop:Generator_UserColumnName="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="EmailAddress" msprop:Generator_UserColumnName="EmailAddress" msprop:Generator_ColumnPropNameInRow="EmailAddress" msprop:Generator_ColumnVarNameInTable="columnEmailAddress" msprop:Generator_ColumnPropNameInTable="EmailAddressColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone1" msprop:Generator_UserColumnName="Phone1" msprop:Generator_ColumnPropNameInRow="Phone1" msprop:Generator_ColumnVarNameInTable="columnPhone1" msprop:Generator_ColumnPropNameInTable="Phone1Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Phone2" msprop:Generator_UserColumnName="Phone2" msprop:Generator_ColumnPropNameInRow="Phone2" msprop:Generator_ColumnVarNameInTable="columnPhone2" msprop:Generator_ColumnPropNameInTable="Phone2Column" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Mobile" msprop:Generator_UserColumnName="Mobile" msprop:Generator_ColumnPropNameInRow="Mobile" msprop:Generator_ColumnVarNameInTable="columnMobile" msprop:Generator_ColumnPropNameInTable="MobileColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="25" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="AdditionalContactInfo" msprop:Generator_UserColumnName="AdditionalContactInfo" msprop:Generator_ColumnPropNameInRow="AdditionalContactInfo" msprop:Generator_ColumnVarNameInTable="columnAdditionalContactInfo" msprop:Generator_ColumnPropNameInTable="AdditionalContactInfoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Photo" msprop:Generator_UserColumnName="Photo" msprop:Generator_ColumnPropNameInRow="Photo" msprop:Generator_ColumnVarNameInTable="columnPhoto" msprop:Generator_ColumnPropNameInTable="PhotoColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
              <xs:element name="Username" msprop:Generator_UserColumnName="Username" msprop:Generator_ColumnPropNameInRow="Username" msprop:Generator_ColumnVarNameInTable="columnUsername" msprop:Generator_ColumnPropNameInTable="UsernameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PasswordHash" msprop:Generator_UserColumnName="PasswordHash" msprop:Generator_ColumnPropNameInRow="PasswordHash" msprop:Generator_ColumnVarNameInTable="columnPasswordHash" msprop:Generator_ColumnPropNameInTable="PasswordHashColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="40" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PasswordSalt" msprop:Generator_UserColumnName="PasswordSalt" msprop:Generator_ColumnPropNameInRow="PasswordSalt" msprop:Generator_ColumnVarNameInTable="columnPasswordSalt" msprop:Generator_ColumnPropNameInTable="PasswordSaltColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="SqlUser" msprop:Generator_UserColumnName="SqlUser" msprop:Generator_ColumnPropNameInRow="SqlUser" msprop:Generator_ColumnVarNameInTable="columnSqlUser" msprop:Generator_ColumnPropNameInTable="SqlUserColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="IsActive" msprop:Generator_UserColumnName="IsActive" msprop:Generator_ColumnPropNameInRow="IsActive" msprop:Generator_ColumnVarNameInTable="columnIsActive" msprop:Generator_ColumnPropNameInTable="IsActiveColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ContactType" msprop:Generator_UserTableName="ContactType" msprop:Generator_RowDeletedName="ContactTypeRowDeleted" msprop:Generator_RowChangedName="ContactTypeRowChanged" msprop:Generator_RowClassName="ContactTypeRow" msprop:Generator_RowChangingName="ContactTypeRowChanging" msprop:Generator_RowEvArgName="ContactTypeRowChangeEvent" msprop:Generator_RowEvHandlerName="ContactTypeRowChangeEventHandler" msprop:Generator_TableClassName="ContactTypeDataTable" msprop:Generator_TableVarName="tableContactType" msprop:Generator_RowDeletingName="ContactTypeRowDeleting" msprop:Generator_TablePropName="ContactType">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ContactTypeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ContactTypeId" msprop:Generator_ColumnPropNameInRow="ContactTypeId" msprop:Generator_ColumnVarNameInTable="columnContactTypeId" msprop:Generator_ColumnPropNameInTable="ContactTypeIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Country" msprop:Generator_UserTableName="Country" msprop:Generator_RowDeletedName="CountryRowDeleted" msprop:Generator_RowChangedName="CountryRowChanged" msprop:Generator_RowClassName="CountryRow" msprop:Generator_RowChangingName="CountryRowChanging" msprop:Generator_RowEvArgName="CountryRowChangeEvent" msprop:Generator_RowEvHandlerName="CountryRowChangeEventHandler" msprop:Generator_TableClassName="CountryDataTable" msprop:Generator_TableVarName="tableCountry" msprop:Generator_RowDeletingName="CountryRowDeleting" msprop:Generator_TablePropName="Country">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CountryCode" msprop:Generator_UserColumnName="CountryCode" msprop:Generator_ColumnPropNameInRow="CountryCode" msprop:Generator_ColumnVarNameInTable="columnCountryCode" msprop:Generator_ColumnPropNameInTable="CountryCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Territory" msprop:Generator_UserColumnName="Territory" msprop:Generator_ColumnPropNameInRow="Territory" msprop:Generator_ColumnVarNameInTable="columnTerritory" msprop:Generator_ColumnPropNameInTable="TerritoryColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="OriginId" msprop:Generator_UserColumnName="OriginId" msprop:Generator_ColumnPropNameInRow="OriginId" msprop:Generator_ColumnVarNameInTable="columnOriginId" msprop:Generator_ColumnPropNameInTable="OriginIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="CultureId" msprop:Generator_UserColumnName="CultureId" msprop:Generator_ColumnPropNameInRow="CultureId" msprop:Generator_ColumnVarNameInTable="columnCultureId" msprop:Generator_ColumnPropNameInTable="CultureIdColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="6" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CurrencyCode" msprop:Generator_UserColumnName="CurrencyCode" msprop:Generator_ColumnPropNameInRow="CurrencyCode" msprop:Generator_ColumnVarNameInTable="columnCurrencyCode" msprop:Generator_ColumnPropNameInTable="CurrencyCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Culture" msprop:Generator_UserTableName="Culture" msprop:Generator_RowDeletedName="CultureRowDeleted" msprop:Generator_RowChangedName="CultureRowChanged" msprop:Generator_RowClassName="CultureRow" msprop:Generator_RowChangingName="CultureRowChanging" msprop:Generator_RowEvArgName="CultureRowChangeEvent" msprop:Generator_RowEvHandlerName="CultureRowChangeEventHandler" msprop:Generator_TableClassName="CultureDataTable" msprop:Generator_TableVarName="tableCulture" msprop:Generator_RowDeletingName="CultureRowDeleting" msprop:Generator_TablePropName="Culture">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CultureId" msprop:Generator_UserColumnName="CultureId" msprop:Generator_ColumnPropNameInRow="CultureId" msprop:Generator_ColumnVarNameInTable="columnCultureId" msprop:Generator_ColumnPropNameInTable="CultureIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="6" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Currency" msprop:Generator_UserTableName="Currency" msprop:Generator_RowDeletedName="CurrencyRowDeleted" msprop:Generator_RowChangedName="CurrencyRowChanged" msprop:Generator_RowClassName="CurrencyRow" msprop:Generator_RowChangingName="CurrencyRowChanging" msprop:Generator_RowEvArgName="CurrencyRowChangeEvent" msprop:Generator_RowEvHandlerName="CurrencyRowChangeEventHandler" msprop:Generator_TableClassName="CurrencyDataTable" msprop:Generator_TableVarName="tableCurrency" msprop:Generator_RowDeletingName="CurrencyRowDeleting" msprop:Generator_TablePropName="Currency">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CurrencyCode" msprop:Generator_UserColumnName="CurrencyCode" msprop:Generator_ColumnPropNameInRow="CurrencyCode" msprop:Generator_ColumnVarNameInTable="columnCurrencyCode" msprop:Generator_ColumnPropNameInTable="CurrencyCodeColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Customer" msprop:Generator_UserTableName="Customer" msprop:Generator_RowDeletedName="CustomerRowDeleted" msprop:Generator_RowChangedName="CustomerRowChanged" msprop:Generator_RowClassName="CustomerRow" msprop:Generator_RowChangingName="CustomerRowChanging" msprop:Generator_RowEvArgName="CustomerRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerRowChangeEventHandler" msprop:Generator_TableClassName="CustomerDataTable" msprop:Generator_TableVarName="tableCustomer" msprop:Generator_RowDeletingName="CustomerRowDeleting" msprop:Generator_TablePropName="Customer">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="CustomerId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" />
              <xs:element name="AccountNumber" msdata:ReadOnly="true" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="10" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Demographics" msprop:Generator_UserColumnName="Demographics" msprop:Generator_ColumnPropNameInRow="Demographics" msprop:Generator_ColumnVarNameInTable="columnDemographics" msprop:Generator_ColumnPropNameInTable="DemographicsColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CountryCode" msprop:Generator_UserColumnName="CountryCode" msprop:Generator_ColumnPropNameInRow="CountryCode" msprop:Generator_ColumnVarNameInTable="columnCountryCode" msprop:Generator_ColumnPropNameInTable="CountryCodeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PreferredShipMethod" msprop:Generator_UserColumnName="PreferredShipMethod" msprop:Generator_ColumnPropNameInRow="PreferredShipMethod" msprop:Generator_ColumnVarNameInTable="columnPreferredShipMethod" msprop:Generator_ColumnPropNameInTable="PreferredShipMethodColumn" type="xs:int" minOccurs="0" />
              <xs:element name="PreferredPaymentTerm" msprop:Generator_UserColumnName="PreferredPaymentTerm" msprop:Generator_ColumnPropNameInRow="PreferredPaymentTerm" msprop:Generator_ColumnVarNameInTable="columnPreferredPaymentTerm" msprop:Generator_ColumnPropNameInTable="PreferredPaymentTermColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="VergiDairesi" msprop:Generator_UserColumnName="VergiDairesi" msprop:Generator_ColumnPropNameInRow="VergiDairesi" msprop:Generator_ColumnVarNameInTable="columnVergiDairesi" msprop:Generator_ColumnPropNameInTable="VergiDairesiColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="VergiNo" msprop:Generator_UserColumnName="VergiNo" msprop:Generator_ColumnPropNameInRow="VergiNo" msprop:Generator_ColumnVarNameInTable="columnVergiNo" msprop:Generator_ColumnPropNameInTable="VergiNoColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="CustomerBrand" msprop:Generator_UserTableName="CustomerBrand" msprop:Generator_RowDeletedName="CustomerBrandRowDeleted" msprop:Generator_RowChangedName="CustomerBrandRowChanged" msprop:Generator_RowClassName="CustomerBrandRow" msprop:Generator_RowChangingName="CustomerBrandRowChanging" msprop:Generator_RowEvArgName="CustomerBrandRowChangeEvent" msprop:Generator_RowEvHandlerName="CustomerBrandRowChangeEventHandler" msprop:Generator_TableClassName="CustomerBrandDataTable" msprop:Generator_TableVarName="tableCustomerBrand" msprop:Generator_RowDeletingName="CustomerBrandRowDeleting" msprop:Generator_TablePropName="CustomerBrand">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="BrandId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="BrandId" msprop:Generator_ColumnPropNameInRow="BrandId" msprop:Generator_ColumnVarNameInTable="columnBrandId" msprop:Generator_ColumnPropNameInTable="BrandIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="128" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CustomerId" msprop:Generator_UserColumnName="CustomerId" msprop:Generator_ColumnPropNameInRow="CustomerId" msprop:Generator_ColumnVarNameInTable="columnCustomerId" msprop:Generator_ColumnPropNameInTable="CustomerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="StartDate" msprop:Generator_UserColumnName="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="EndDate" msprop:Generator_UserColumnName="EndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" type="xs:dateTime" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="DeliveryTerm" msprop:Generator_UserTableName="DeliveryTerm" msprop:Generator_RowDeletedName="DeliveryTermRowDeleted" msprop:Generator_RowChangedName="DeliveryTermRowChanged" msprop:Generator_RowClassName="DeliveryTermRow" msprop:Generator_RowChangingName="DeliveryTermRowChanging" msprop:Generator_RowEvArgName="DeliveryTermRowChangeEvent" msprop:Generator_RowEvHandlerName="DeliveryTermRowChangeEventHandler" msprop:Generator_TableClassName="DeliveryTermDataTable" msprop:Generator_TableVarName="tableDeliveryTerm" msprop:Generator_RowDeletingName="DeliveryTermRowDeleting" msprop:Generator_TablePropName="DeliveryTerm">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DeliveryTermId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="DeliveryTermId" msprop:Generator_ColumnPropNameInRow="DeliveryTermId" msprop:Generator_ColumnVarNameInTable="columnDeliveryTermId" msprop:Generator_ColumnPropNameInTable="DeliveryTermIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Department" msprop:Generator_UserTableName="Department" msprop:Generator_RowDeletedName="DepartmentRowDeleted" msprop:Generator_RowChangedName="DepartmentRowChanged" msprop:Generator_RowClassName="DepartmentRow" msprop:Generator_RowChangingName="DepartmentRowChanging" msprop:Generator_RowEvArgName="DepartmentRowChangeEvent" msprop:Generator_RowEvHandlerName="DepartmentRowChangeEventHandler" msprop:Generator_TableClassName="DepartmentDataTable" msprop:Generator_TableVarName="tableDepartment" msprop:Generator_RowDeletingName="DepartmentRowDeleting" msprop:Generator_TablePropName="Department">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="DepartmentId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="DepartmentId" msprop:Generator_ColumnPropNameInRow="DepartmentId" msprop:Generator_ColumnVarNameInTable="columnDepartmentId" msprop:Generator_ColumnPropNameInTable="DepartmentIdColumn" type="xs:short" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="GroupName" msprop:Generator_UserColumnName="GroupName" msprop:Generator_ColumnPropNameInRow="GroupName" msprop:Generator_ColumnVarNameInTable="columnGroupName" msprop:Generator_ColumnPropNameInTable="GroupNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ExpensePercentage" msprop:Generator_UserTableName="ExpensePercentage" msprop:Generator_RowDeletedName="ExpensePercentageRowDeleted" msprop:Generator_RowChangedName="ExpensePercentageRowChanged" msprop:Generator_RowClassName="ExpensePercentageRow" msprop:Generator_RowChangingName="ExpensePercentageRowChanging" msprop:Generator_RowEvArgName="ExpensePercentageRowChangeEvent" msprop:Generator_RowEvHandlerName="ExpensePercentageRowChangeEventHandler" msprop:Generator_TableClassName="ExpensePercentageDataTable" msprop:Generator_TableVarName="tableExpensePercentage" msprop:Generator_RowDeletingName="ExpensePercentageRowDeleting" msprop:Generator_TablePropName="ExpensePercentage">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ExpensePercentageId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="ExpensePercentageId" msprop:Generator_ColumnPropNameInRow="ExpensePercentageId" msprop:Generator_ColumnVarNameInTable="columnExpensePercentageId" msprop:Generator_ColumnPropNameInTable="ExpensePercentageIdColumn" type="xs:unsignedByte" />
              <xs:element name="Percentage" msprop:Generator_UserColumnName="Percentage" msprop:Generator_ColumnPropNameInRow="Percentage" msprop:Generator_ColumnVarNameInTable="columnPercentage" msprop:Generator_ColumnPropNameInTable="PercentageColumn" type="xs:float" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="HareketTipi" msprop:Generator_UserTableName="HareketTipi" msprop:Generator_RowDeletedName="HareketTipiRowDeleted" msprop:Generator_RowChangedName="HareketTipiRowChanged" msprop:Generator_RowClassName="HareketTipiRow" msprop:Generator_RowChangingName="HareketTipiRowChanging" msprop:Generator_RowEvArgName="HareketTipiRowChangeEvent" msprop:Generator_RowEvHandlerName="HareketTipiRowChangeEventHandler" msprop:Generator_TableClassName="HareketTipiDataTable" msprop:Generator_TableVarName="tableHareketTipi" msprop:Generator_RowDeletingName="HareketTipiRowDeleting" msprop:Generator_TablePropName="HareketTipi">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="HareketTipiId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="HareketTipiId" msprop:Generator_ColumnPropNameInRow="HareketTipiId" msprop:Generator_ColumnVarNameInTable="columnHareketTipiId" msprop:Generator_ColumnPropNameInTable="HareketTipiIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Location" msprop:Generator_UserTableName="Location" msprop:Generator_RowDeletedName="LocationRowDeleted" msprop:Generator_RowChangedName="LocationRowChanged" msprop:Generator_RowClassName="LocationRow" msprop:Generator_RowChangingName="LocationRowChanging" msprop:Generator_RowEvArgName="LocationRowChangeEvent" msprop:Generator_RowEvHandlerName="LocationRowChangeEventHandler" msprop:Generator_TableClassName="LocationDataTable" msprop:Generator_TableVarName="tableLocation" msprop:Generator_RowDeletingName="LocationRowDeleting" msprop:Generator_TablePropName="Location">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="LocationId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="LocationId" msprop:Generator_ColumnPropNameInRow="LocationId" msprop:Generator_ColumnVarNameInTable="columnLocationId" msprop:Generator_ColumnPropNameInTable="LocationIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Type" msprop:Generator_UserColumnName="Type" msprop:Generator_ColumnPropNameInRow="Type" msprop:Generator_ColumnVarNameInTable="columnType" msprop:Generator_ColumnPropNameInTable="TypeColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Origin" msprop:Generator_UserTableName="Origin" msprop:Generator_RowDeletedName="OriginRowDeleted" msprop:Generator_RowChangedName="OriginRowChanged" msprop:Generator_RowClassName="OriginRow" msprop:Generator_RowChangingName="OriginRowChanging" msprop:Generator_RowEvArgName="OriginRowChangeEvent" msprop:Generator_RowEvHandlerName="OriginRowChangeEventHandler" msprop:Generator_TableClassName="OriginDataTable" msprop:Generator_TableVarName="tableOrigin" msprop:Generator_RowDeletingName="OriginRowDeleting" msprop:Generator_TablePropName="Origin">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="OriginId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="OriginId" msprop:Generator_ColumnPropNameInRow="OriginId" msprop:Generator_ColumnVarNameInTable="columnOriginId" msprop:Generator_ColumnPropNameInTable="OriginIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="PaymentTerm" msprop:Generator_UserTableName="PaymentTerm" msprop:Generator_RowDeletedName="PaymentTermRowDeleted" msprop:Generator_RowChangedName="PaymentTermRowChanged" msprop:Generator_RowClassName="PaymentTermRow" msprop:Generator_RowChangingName="PaymentTermRowChanging" msprop:Generator_RowEvArgName="PaymentTermRowChangeEvent" msprop:Generator_RowEvHandlerName="PaymentTermRowChangeEventHandler" msprop:Generator_TableClassName="PaymentTermDataTable" msprop:Generator_TableVarName="tablePaymentTerm" msprop:Generator_RowDeletingName="PaymentTermRowDeleting" msprop:Generator_TablePropName="PaymentTerm">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="PaymentTermId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="PaymentTermId" msprop:Generator_ColumnPropNameInRow="PaymentTermId" msprop:Generator_ColumnVarNameInTable="columnPaymentTermId" msprop:Generator_ColumnPropNameInTable="PaymentTermIdColumn" type="xs:unsignedByte" />
              <xs:element name="PaymentMethod" msprop:Generator_UserColumnName="PaymentMethod" msprop:Generator_ColumnPropNameInRow="PaymentMethod" msprop:Generator_ColumnVarNameInTable="columnPaymentMethod" msprop:Generator_ColumnPropNameInTable="PaymentMethodColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="PaymentTerm" msprop:Generator_UserColumnName="PaymentTerm" msprop:Generator_ColumnPropNameInRow="PaymentTerm" msprop:Generator_ColumnVarNameInTable="columnPaymentTerm" msprop:Generator_ColumnPropNameInTable="PaymentTermColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Product" msprop:Generator_UserTableName="Product" msprop:Generator_RowDeletedName="ProductRowDeleted" msprop:Generator_RowChangedName="ProductRowChanged" msprop:Generator_RowClassName="ProductRow" msprop:Generator_RowChangingName="ProductRowChanging" msprop:Generator_RowEvArgName="ProductRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductRowChangeEventHandler" msprop:Generator_TableClassName="ProductDataTable" msprop:Generator_TableVarName="tableProduct" msprop:Generator_RowDeletingName="ProductRowDeleting" msprop:Generator_TablePropName="Product">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductId" msprop:Generator_ColumnPropNameInRow="ProductId" msprop:Generator_ColumnVarNameInTable="columnProductId" msprop:Generator_ColumnPropNameInTable="ProductIdColumn" type="xs:int" />
              <xs:element name="StokAdi" msprop:Generator_UserColumnName="StokAdi" msprop:Generator_ColumnPropNameInRow="StokAdi" msprop:Generator_ColumnVarNameInTable="columnStokAdi" msprop:Generator_ColumnPropNameInTable="StokAdiColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokKoduTipiId" msprop:Generator_UserColumnName="StokKoduTipiId" msprop:Generator_ColumnPropNameInRow="StokKoduTipiId" msprop:Generator_ColumnVarNameInTable="columnStokKoduTipiId" msprop:Generator_ColumnPropNameInTable="StokKoduTipiIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="StokArtikeli" msprop:Generator_UserColumnName="StokArtikeli" msprop:Generator_ColumnPropNameInRow="StokArtikeli" msprop:Generator_ColumnVarNameInTable="columnStokArtikeli" msprop:Generator_ColumnPropNameInTable="StokArtikeliColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokKodu" msprop:Generator_UserColumnName="StokKodu" msprop:Generator_ColumnPropNameInRow="StokKodu" msprop:Generator_ColumnVarNameInTable="columnStokKodu" msprop:Generator_ColumnPropNameInTable="StokKoduColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="StokRenk" msprop:Generator_UserColumnName="StokRenk" msprop:Generator_ColumnPropNameInRow="StokRenk" msprop:Generator_ColumnVarNameInTable="columnStokRenk" msprop:Generator_ColumnPropNameInTable="StokRenkColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="GenelStokKalemi" msprop:Generator_UserColumnName="GenelStokKalemi" msprop:Generator_ColumnPropNameInRow="GenelStokKalemi" msprop:Generator_ColumnVarNameInTable="columnGenelStokKalemi" msprop:Generator_ColumnPropNameInTable="GenelStokKalemiColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="FAO" msprop:Generator_UserColumnName="FAO" msprop:Generator_ColumnPropNameInRow="FAO" msprop:Generator_ColumnVarNameInTable="columnFAO" msprop:Generator_ColumnPropNameInTable="FAOColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Notes" msprop:Generator_UserColumnName="Notes" msprop:Generator_ColumnPropNameInRow="Notes" msprop:Generator_ColumnVarNameInTable="columnNotes" msprop:Generator_ColumnPropNameInTable="NotesColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="2147483647" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="MakeFlag" msprop:Generator_UserColumnName="MakeFlag" msprop:Generator_ColumnPropNameInRow="MakeFlag" msprop:Generator_ColumnVarNameInTable="columnMakeFlag" msprop:Generator_ColumnPropNameInTable="MakeFlagColumn" type="xs:boolean" />
              <xs:element name="FinishedGoodsFlag" msprop:Generator_UserColumnName="FinishedGoodsFlag" msprop:Generator_ColumnPropNameInRow="FinishedGoodsFlag" msprop:Generator_ColumnVarNameInTable="columnFinishedGoodsFlag" msprop:Generator_ColumnPropNameInTable="FinishedGoodsFlagColumn" type="xs:boolean" />
              <xs:element name="SafetyStockLevel" msprop:Generator_UserColumnName="SafetyStockLevel" msprop:Generator_ColumnPropNameInRow="SafetyStockLevel" msprop:Generator_ColumnVarNameInTable="columnSafetyStockLevel" msprop:Generator_ColumnPropNameInTable="SafetyStockLevelColumn" type="xs:short" />
              <xs:element name="ReorderPoint" msprop:Generator_UserColumnName="ReorderPoint" msprop:Generator_ColumnPropNameInRow="ReorderPoint" msprop:Generator_ColumnVarNameInTable="columnReorderPoint" msprop:Generator_ColumnPropNameInTable="ReorderPointColumn" type="xs:short" />
              <xs:element name="StandardCost" msprop:Generator_UserColumnName="StandardCost" msprop:Generator_ColumnPropNameInRow="StandardCost" msprop:Generator_ColumnVarNameInTable="columnStandardCost" msprop:Generator_ColumnPropNameInTable="StandardCostColumn" type="xs:decimal" />
              <xs:element name="ListPrice" msprop:Generator_UserColumnName="ListPrice" msprop:Generator_ColumnPropNameInRow="ListPrice" msprop:Generator_ColumnVarNameInTable="columnListPrice" msprop:Generator_ColumnPropNameInTable="ListPriceColumn" type="xs:decimal" />
              <xs:element name="DaysToManufacture" msprop:Generator_UserColumnName="DaysToManufacture" msprop:Generator_ColumnPropNameInRow="DaysToManufacture" msprop:Generator_ColumnVarNameInTable="columnDaysToManufacture" msprop:Generator_ColumnPropNameInTable="DaysToManufactureColumn" type="xs:int" />
              <xs:element name="ProductSubcategoryId" msprop:Generator_UserColumnName="ProductSubcategoryId" msprop:Generator_ColumnPropNameInRow="ProductSubcategoryId" msprop:Generator_ColumnVarNameInTable="columnProductSubcategoryId" msprop:Generator_ColumnPropNameInTable="ProductSubcategoryIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="ProductModelId" msprop:Generator_UserColumnName="ProductModelId" msprop:Generator_ColumnPropNameInRow="ProductModelId" msprop:Generator_ColumnVarNameInTable="columnProductModelId" msprop:Generator_ColumnPropNameInTable="ProductModelIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="DiscontinuedDate" msprop:Generator_UserColumnName="DiscontinuedDate" msprop:Generator_ColumnPropNameInRow="DiscontinuedDate" msprop:Generator_ColumnVarNameInTable="columnDiscontinuedDate" msprop:Generator_ColumnPropNameInTable="DiscontinuedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductCategory" msprop:Generator_UserTableName="ProductCategory" msprop:Generator_RowDeletedName="ProductCategoryRowDeleted" msprop:Generator_RowChangedName="ProductCategoryRowChanged" msprop:Generator_RowClassName="ProductCategoryRow" msprop:Generator_RowChangingName="ProductCategoryRowChanging" msprop:Generator_RowEvArgName="ProductCategoryRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductCategoryRowChangeEventHandler" msprop:Generator_TableClassName="ProductCategoryDataTable" msprop:Generator_TableVarName="tableProductCategory" msprop:Generator_RowDeletingName="ProductCategoryRowDeleting" msprop:Generator_TablePropName="ProductCategory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductCategoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductCategoryId" msprop:Generator_ColumnPropNameInRow="ProductCategoryId" msprop:Generator_ColumnVarNameInTable="columnProductCategoryId" msprop:Generator_ColumnPropNameInTable="ProductCategoryIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ProductSubcategory" msprop:Generator_UserTableName="ProductSubcategory" msprop:Generator_RowDeletedName="ProductSubcategoryRowDeleted" msprop:Generator_RowChangedName="ProductSubcategoryRowChanged" msprop:Generator_RowClassName="ProductSubcategoryRow" msprop:Generator_RowChangingName="ProductSubcategoryRowChanging" msprop:Generator_RowEvArgName="ProductSubcategoryRowChangeEvent" msprop:Generator_RowEvHandlerName="ProductSubcategoryRowChangeEventHandler" msprop:Generator_TableClassName="ProductSubcategoryDataTable" msprop:Generator_TableVarName="tableProductSubcategory" msprop:Generator_RowDeletingName="ProductSubcategoryRowDeleting" msprop:Generator_TablePropName="ProductSubcategory">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ProductSubcategoryId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ProductSubcategoryId" msprop:Generator_ColumnPropNameInRow="ProductSubcategoryId" msprop:Generator_ColumnVarNameInTable="columnProductSubcategoryId" msprop:Generator_ColumnPropNameInTable="ProductSubcategoryIdColumn" type="xs:int" />
              <xs:element name="ProductCategoryId" msprop:Generator_UserColumnName="ProductCategoryId" msprop:Generator_ColumnPropNameInRow="ProductCategoryId" msprop:Generator_ColumnVarNameInTable="columnProductCategoryId" msprop:Generator_ColumnPropNameInTable="ProductCategoryIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="xWeight" msprop:Generator_UserColumnName="xWeight" msprop:Generator_ColumnPropNameInRow="xWeight" msprop:Generator_ColumnVarNameInTable="columnxWeight" msprop:Generator_ColumnPropNameInTable="xWeightColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xUnitMeasureCode" msprop:Generator_UserColumnName="xUnitMeasureCode" msprop:Generator_ColumnPropNameInRow="xUnitMeasureCode" msprop:Generator_ColumnVarNameInTable="columnxUnitMeasureCode" msprop:Generator_ColumnPropNameInTable="xUnitMeasureCodeColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xWidth" msprop:Generator_UserColumnName="xWidth" msprop:Generator_ColumnPropNameInRow="xWidth" msprop:Generator_ColumnVarNameInTable="columnxWidth" msprop:Generator_ColumnPropNameInTable="xWidthColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xQuality" msprop:Generator_UserColumnName="xQuality" msprop:Generator_ColumnPropNameInRow="xQuality" msprop:Generator_ColumnVarNameInTable="columnxQuality" msprop:Generator_ColumnPropNameInTable="xQualityColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xComposition" msprop:Generator_UserColumnName="xComposition" msprop:Generator_ColumnPropNameInRow="xComposition" msprop:Generator_ColumnVarNameInTable="columnxComposition" msprop:Generator_ColumnPropNameInTable="xCompositionColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xThickness" msprop:Generator_UserColumnName="xThickness" msprop:Generator_ColumnPropNameInRow="xThickness" msprop:Generator_ColumnVarNameInTable="columnxThickness" msprop:Generator_ColumnPropNameInTable="xThicknessColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xBrand" msprop:Generator_UserColumnName="xBrand" msprop:Generator_ColumnPropNameInRow="xBrand" msprop:Generator_ColumnVarNameInTable="columnxBrand" msprop:Generator_ColumnPropNameInTable="xBrandColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xColor" msprop:Generator_UserColumnName="xColor" msprop:Generator_ColumnPropNameInRow="xColor" msprop:Generator_ColumnVarNameInTable="columnxColor" msprop:Generator_ColumnPropNameInTable="xColorColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xOlcu" msprop:Generator_UserColumnName="xOlcu" msprop:Generator_ColumnPropNameInRow="xOlcu" msprop:Generator_ColumnVarNameInTable="columnxOlcu" msprop:Generator_ColumnPropNameInTable="xOlcuColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xHeight" msprop:Generator_UserColumnName="xHeight" msprop:Generator_ColumnPropNameInRow="xHeight" msprop:Generator_ColumnVarNameInTable="columnxHeight" msprop:Generator_ColumnPropNameInTable="xHeightColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xArticle" msprop:Generator_UserColumnName="xArticle" msprop:Generator_ColumnPropNameInRow="xArticle" msprop:Generator_ColumnVarNameInTable="columnxArticle" msprop:Generator_ColumnPropNameInTable="xArticleColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xKesimSekli" msprop:Generator_UserColumnName="xKesimSekli" msprop:Generator_ColumnPropNameInRow="xKesimSekli" msprop:Generator_ColumnVarNameInTable="columnxKesimSekli" msprop:Generator_ColumnPropNameInTable="xKesimSekliColumn" type="xs:boolean" minOccurs="0" />
              <xs:element name="xCins" msprop:Generator_UserColumnName="xCins" msprop:Generator_ColumnPropNameInRow="xCins" msprop:Generator_ColumnVarNameInTable="columnxCins" msprop:Generator_ColumnPropNameInTable="xCinsColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesPerson" msprop:Generator_UserTableName="SalesPerson" msprop:Generator_RowDeletedName="SalesPersonRowDeleted" msprop:Generator_RowChangedName="SalesPersonRowChanged" msprop:Generator_RowClassName="SalesPersonRow" msprop:Generator_RowChangingName="SalesPersonRowChanging" msprop:Generator_RowEvArgName="SalesPersonRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesPersonRowChangeEventHandler" msprop:Generator_TableClassName="SalesPersonDataTable" msprop:Generator_TableVarName="tableSalesPerson" msprop:Generator_RowDeletingName="SalesPersonRowDeleting" msprop:Generator_TablePropName="SalesPerson">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesPersonId" msprop:Generator_UserColumnName="SalesPersonId" msprop:Generator_ColumnPropNameInRow="SalesPersonId" msprop:Generator_ColumnVarNameInTable="columnSalesPersonId" msprop:Generator_ColumnPropNameInTable="SalesPersonIdColumn" type="xs:int" />
              <xs:element name="SalesQuota" msprop:Generator_UserColumnName="SalesQuota" msprop:Generator_ColumnPropNameInRow="SalesQuota" msprop:Generator_ColumnVarNameInTable="columnSalesQuota" msprop:Generator_ColumnPropNameInTable="SalesQuotaColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="Bonus" msprop:Generator_UserColumnName="Bonus" msprop:Generator_ColumnPropNameInRow="Bonus" msprop:Generator_ColumnVarNameInTable="columnBonus" msprop:Generator_ColumnPropNameInTable="BonusColumn" type="xs:decimal" />
              <xs:element name="CommissionPct" msprop:Generator_UserColumnName="CommissionPct" msprop:Generator_ColumnPropNameInRow="CommissionPct" msprop:Generator_ColumnVarNameInTable="columnCommissionPct" msprop:Generator_ColumnPropNameInTable="CommissionPctColumn" type="xs:decimal" />
              <xs:element name="SalesYTD" msprop:Generator_UserColumnName="SalesYTD" msprop:Generator_ColumnPropNameInRow="SalesYTD" msprop:Generator_ColumnVarNameInTable="columnSalesYTD" msprop:Generator_ColumnPropNameInTable="SalesYTDColumn" type="xs:decimal" />
              <xs:element name="SalesLastYear" msprop:Generator_UserColumnName="SalesLastYear" msprop:Generator_ColumnPropNameInRow="SalesLastYear" msprop:Generator_ColumnVarNameInTable="columnSalesLastYear" msprop:Generator_ColumnPropNameInTable="SalesLastYearColumn" type="xs:decimal" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Shelf" msprop:Generator_UserTableName="Shelf" msprop:Generator_RowDeletedName="ShelfRowDeleted" msprop:Generator_RowChangedName="ShelfRowChanged" msprop:Generator_RowClassName="ShelfRow" msprop:Generator_RowChangingName="ShelfRowChanging" msprop:Generator_RowEvArgName="ShelfRowChangeEvent" msprop:Generator_RowEvHandlerName="ShelfRowChangeEventHandler" msprop:Generator_TableClassName="ShelfDataTable" msprop:Generator_TableVarName="tableShelf" msprop:Generator_RowDeletingName="ShelfRowDeleting" msprop:Generator_TablePropName="Shelf">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ShelfId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ShelfId" msprop:Generator_ColumnPropNameInRow="ShelfId" msprop:Generator_ColumnVarNameInTable="columnShelfId" msprop:Generator_ColumnPropNameInTable="ShelfIdColumn" type="xs:short" />
              <xs:element name="LocationId" msprop:Generator_UserColumnName="LocationId" msprop:Generator_ColumnPropNameInRow="LocationId" msprop:Generator_ColumnVarNameInTable="columnLocationId" msprop:Generator_ColumnPropNameInTable="LocationIdColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="ShipMethod" msprop:Generator_UserTableName="ShipMethod" msprop:Generator_RowDeletedName="ShipMethodRowDeleted" msprop:Generator_RowChangedName="ShipMethodRowChanged" msprop:Generator_RowClassName="ShipMethodRow" msprop:Generator_RowChangingName="ShipMethodRowChanging" msprop:Generator_RowEvArgName="ShipMethodRowChangeEvent" msprop:Generator_RowEvHandlerName="ShipMethodRowChangeEventHandler" msprop:Generator_TableClassName="ShipMethodDataTable" msprop:Generator_TableVarName="tableShipMethod" msprop:Generator_RowDeletingName="ShipMethodRowDeleting" msprop:Generator_TablePropName="ShipMethod">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="ShipMethodId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="ShipMethodId" msprop:Generator_ColumnPropNameInRow="ShipMethodId" msprop:Generator_ColumnVarNameInTable="columnShipMethodId" msprop:Generator_ColumnPropNameInTable="ShipMethodIdColumn" type="xs:int" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="StokkoduTipi" msprop:Generator_UserTableName="StokkoduTipi" msprop:Generator_RowDeletedName="StokkoduTipiRowDeleted" msprop:Generator_RowChangedName="StokkoduTipiRowChanged" msprop:Generator_RowClassName="StokkoduTipiRow" msprop:Generator_RowChangingName="StokkoduTipiRowChanging" msprop:Generator_RowEvArgName="StokkoduTipiRowChangeEvent" msprop:Generator_RowEvHandlerName="StokkoduTipiRowChangeEventHandler" msprop:Generator_TableClassName="StokkoduTipiDataTable" msprop:Generator_TableVarName="tableStokkoduTipi" msprop:Generator_RowDeletingName="StokkoduTipiRowDeleting" msprop:Generator_TablePropName="StokkoduTipi">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="StokkoduTipiId" msdata:ReadOnly="true" msprop:Generator_UserColumnName="StokkoduTipiId" msprop:Generator_ColumnPropNameInRow="StokkoduTipiId" msprop:Generator_ColumnVarNameInTable="columnStokkoduTipiId" msprop:Generator_ColumnPropNameInTable="StokkoduTipiIdColumn" type="xs:unsignedByte" />
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="UnitMeasure" msprop:Generator_UserTableName="UnitMeasure" msprop:Generator_RowDeletedName="UnitMeasureRowDeleted" msprop:Generator_RowChangedName="UnitMeasureRowChanged" msprop:Generator_RowClassName="UnitMeasureRow" msprop:Generator_RowChangingName="UnitMeasureRowChanging" msprop:Generator_RowEvArgName="UnitMeasureRowChangeEvent" msprop:Generator_RowEvHandlerName="UnitMeasureRowChangeEventHandler" msprop:Generator_TableClassName="UnitMeasureDataTable" msprop:Generator_TableVarName="tableUnitMeasure" msprop:Generator_RowDeletingName="UnitMeasureRowDeleting" msprop:Generator_TablePropName="UnitMeasure">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="UnitMeasureId" msprop:Generator_UserColumnName="UnitMeasureId" msprop:Generator_ColumnPropNameInRow="UnitMeasureId" msprop:Generator_ColumnVarNameInTable="columnUnitMeasureId" msprop:Generator_ColumnPropNameInTable="UnitMeasureIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="3" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Vendor" msprop:Generator_UserTableName="Vendor" msprop:Generator_RowDeletedName="VendorRowDeleted" msprop:Generator_RowChangedName="VendorRowChanged" msprop:Generator_RowClassName="VendorRow" msprop:Generator_RowChangingName="VendorRowChanging" msprop:Generator_RowEvArgName="VendorRowChangeEvent" msprop:Generator_RowEvHandlerName="VendorRowChangeEventHandler" msprop:Generator_TableClassName="VendorDataTable" msprop:Generator_TableVarName="tableVendor" msprop:Generator_RowDeletingName="VendorRowDeleting" msprop:Generator_TablePropName="Vendor">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="VendorId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="VendorId" msprop:Generator_ColumnPropNameInRow="VendorId" msprop:Generator_ColumnVarNameInTable="columnVendorId" msprop:Generator_ColumnPropNameInTable="VendorIdColumn" type="xs:int" />
              <xs:element name="AccountNumber" msprop:Generator_UserColumnName="AccountNumber" msprop:Generator_ColumnPropNameInRow="AccountNumber" msprop:Generator_ColumnVarNameInTable="columnAccountNumber" msprop:Generator_ColumnPropNameInTable="AccountNumberColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="15" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Name" msprop:Generator_UserColumnName="Name" msprop:Generator_ColumnPropNameInRow="Name" msprop:Generator_ColumnVarNameInTable="columnName" msprop:Generator_ColumnPropNameInTable="NameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="CreditRating" msprop:Generator_UserColumnName="CreditRating" msprop:Generator_ColumnPropNameInRow="CreditRating" msprop:Generator_ColumnVarNameInTable="columnCreditRating" msprop:Generator_ColumnPropNameInTable="CreditRatingColumn" type="xs:unsignedByte" />
              <xs:element name="PreferredVendorStatus" msprop:Generator_UserColumnName="PreferredVendorStatus" msprop:Generator_ColumnPropNameInRow="PreferredVendorStatus" msprop:Generator_ColumnVarNameInTable="columnPreferredVendorStatus" msprop:Generator_ColumnPropNameInTable="PreferredVendorStatusColumn" type="xs:boolean" />
              <xs:element name="PreferredPaymentTerm" msprop:Generator_UserColumnName="PreferredPaymentTerm" msprop:Generator_ColumnPropNameInRow="PreferredPaymentTerm" msprop:Generator_ColumnVarNameInTable="columnPreferredPaymentTerm" msprop:Generator_ColumnPropNameInTable="PreferredPaymentTermColumn" type="xs:unsignedByte" minOccurs="0" />
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="SalesAgent" msprop:Generator_UserTableName="SalesAgent" msprop:Generator_RowDeletedName="SalesAgentRowDeleted" msprop:Generator_RowChangedName="SalesAgentRowChanged" msprop:Generator_RowClassName="SalesAgentRow" msprop:Generator_RowChangingName="SalesAgentRowChanging" msprop:Generator_RowEvArgName="SalesAgentRowChangeEvent" msprop:Generator_RowEvHandlerName="SalesAgentRowChangeEventHandler" msprop:Generator_TableClassName="SalesAgentDataTable" msprop:Generator_TableVarName="tableSalesAgent" msprop:Generator_RowDeletingName="SalesAgentRowDeleting" msprop:Generator_TablePropName="SalesAgent">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="SalesAgentId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="SalesAgentId" msprop:Generator_ColumnPropNameInRow="SalesAgentId" msprop:Generator_ColumnVarNameInTable="columnSalesAgentId" msprop:Generator_ColumnPropNameInTable="SalesAgentIdColumn" type="xs:int" />
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="Balance" msprop:Generator_UserColumnName="Balance" msprop:Generator_ColumnPropNameInRow="Balance" msprop:Generator_ColumnVarNameInTable="columnBalance" msprop:Generator_ColumnPropNameInTable="BalanceColumn" type="xs:decimal" minOccurs="0" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="LookupTables" msprop:Generator_UserTableName="LookupTables" msprop:Generator_RowDeletedName="LookupTablesRowDeleted" msprop:Generator_RowChangedName="LookupTablesRowChanged" msprop:Generator_RowClassName="LookupTablesRow" msprop:Generator_RowChangingName="LookupTablesRowChanging" msprop:Generator_RowEvArgName="LookupTablesRowChangeEvent" msprop:Generator_RowEvHandlerName="LookupTablesRowChangeEventHandler" msprop:Generator_TableClassName="LookupTablesDataTable" msprop:Generator_TableVarName="tableLookupTables" msprop:Generator_RowDeletingName="LookupTablesRowDeleting" msprop:Generator_TablePropName="LookupTables">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="TableName" msprop:Generator_UserColumnName="TableName" msprop:Generator_ColumnVarNameInTable="columnTableName" msprop:Generator_ColumnPropNameInRow="TableName" msprop:Generator_ColumnPropNameInTable="TableNameColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Table2Name" msprop:Generator_UserColumnName="Table2Name" msprop:Generator_ColumnVarNameInTable="columnTable2Name" msprop:Generator_ColumnPropNameInRow="Table2Name" msprop:Generator_ColumnPropNameInTable="Table2NameColumn" minOccurs="0">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="Employee" msprop:Generator_UserTableName="Employee" msprop:Generator_RowDeletedName="EmployeeRowDeleted" msprop:Generator_TableClassName="EmployeeDataTable" msprop:Generator_RowChangedName="EmployeeRowChanged" msprop:Generator_RowClassName="EmployeeRow" msprop:Generator_RowChangingName="EmployeeRowChanging" msprop:Generator_RowEvArgName="EmployeeRowChangeEvent" msprop:Generator_RowEvHandlerName="EmployeeRowChangeEventHandler" msprop:Generator_TablePropName="Employee" msprop:Generator_TableVarName="tableEmployee" msprop:Generator_RowDeletingName="EmployeeRowDeleting">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="EmployeeId" msdata:ReadOnly="true" msdata:AutoIncrement="true" msdata:AutoIncrementSeed="-1" msdata:AutoIncrementStep="-1" msprop:Generator_UserColumnName="EmployeeId" msprop:Generator_ColumnPropNameInRow="EmployeeId" msprop:Generator_ColumnVarNameInTable="columnEmployeeId" msprop:Generator_ColumnPropNameInTable="EmployeeIdColumn" type="xs:int" />
              <xs:element name="ContactId" msprop:Generator_UserColumnName="ContactId" msprop:Generator_ColumnPropNameInRow="ContactId" msprop:Generator_ColumnVarNameInTable="columnContactId" msprop:Generator_ColumnPropNameInTable="ContactIdColumn" type="xs:int" />
              <xs:element name="LoginId" msprop:Generator_UserColumnName="LoginId" msprop:Generator_ColumnPropNameInRow="LoginId" msprop:Generator_ColumnVarNameInTable="columnLoginId" msprop:Generator_ColumnPropNameInTable="LoginIdColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="256" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ManagerId" msprop:Generator_UserColumnName="ManagerId" msprop:Generator_ColumnPropNameInRow="ManagerId" msprop:Generator_ColumnVarNameInTable="columnManagerId" msprop:Generator_ColumnPropNameInTable="ManagerIdColumn" type="xs:int" minOccurs="0" />
              <xs:element name="DepartmentId" msprop:Generator_UserColumnName="DepartmentId" msprop:Generator_ColumnPropNameInRow="DepartmentId" msprop:Generator_ColumnVarNameInTable="columnDepartmentId" msprop:Generator_ColumnPropNameInTable="DepartmentIdColumn" type="xs:short" minOccurs="0" />
              <xs:element name="Title" msprop:Generator_UserColumnName="Title" msprop:Generator_ColumnPropNameInRow="Title" msprop:Generator_ColumnVarNameInTable="columnTitle" msprop:Generator_ColumnPropNameInTable="TitleColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="50" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="BirthDate" msprop:Generator_UserColumnName="BirthDate" msprop:Generator_ColumnPropNameInRow="BirthDate" msprop:Generator_ColumnVarNameInTable="columnBirthDate" msprop:Generator_ColumnPropNameInTable="BirthDateColumn" type="xs:dateTime" />
              <xs:element name="MaritalStatus" msprop:Generator_UserColumnName="MaritalStatus" msprop:Generator_ColumnPropNameInRow="MaritalStatus" msprop:Generator_ColumnVarNameInTable="columnMaritalStatus" msprop:Generator_ColumnPropNameInTable="MaritalStatusColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="Gender" msprop:Generator_UserColumnName="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_ColumnPropNameInTable="GenderColumn">
                <xs:simpleType>
                  <xs:restriction base="xs:string">
                    <xs:maxLength value="1" />
                  </xs:restriction>
                </xs:simpleType>
              </xs:element>
              <xs:element name="ActiveFlag" msprop:Generator_UserColumnName="ActiveFlag" msprop:Generator_ColumnPropNameInRow="ActiveFlag" msprop:Generator_ColumnVarNameInTable="columnActiveFlag" msprop:Generator_ColumnPropNameInTable="ActiveFlagColumn" type="xs:boolean" />
              <xs:element name="ModifiedDate" msprop:Generator_UserColumnName="ModifiedDate" msprop:Generator_ColumnPropNameInRow="ModifiedDate" msprop:Generator_ColumnVarNameInTable="columnModifiedDate" msprop:Generator_ColumnPropNameInTable="ModifiedDateColumn" type="xs:dateTime" minOccurs="0" />
              <xs:element name="ModifiedBy" msprop:Generator_UserColumnName="ModifiedBy" msprop:Generator_ColumnPropNameInRow="ModifiedBy" msprop:Generator_ColumnVarNameInTable="columnModifiedBy" msprop:Generator_ColumnPropNameInTable="ModifiedByColumn" type="xs:int" minOccurs="0" />
              <xs:element name="TS" msdata:ReadOnly="true" msprop:Generator_UserColumnName="TS" msprop:Generator_ColumnPropNameInRow="TS" msprop:Generator_ColumnVarNameInTable="columnTS" msprop:Generator_ColumnPropNameInTable="TSColumn" type="xs:base64Binary" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:choice>
    </xs:complexType>
    <xs:unique name="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AddressType" />
      <xs:field xpath="mstns:AddressTypeId" />
    </xs:unique>
    <xs:unique name="AlisSekli_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:AlisSekli" />
      <xs:field xpath="mstns:AlisSekliId" />
    </xs:unique>
    <xs:unique name="BelgeTipi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:BelgeTipi" />
      <xs:field xpath="mstns:BelgeTipiId" />
    </xs:unique>
    <xs:unique name="Carrier_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Carrier" />
      <xs:field xpath="mstns:CarrierId" />
    </xs:unique>
    <xs:unique name="Contact_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Contact" />
      <xs:field xpath="mstns:ContactId" />
    </xs:unique>
    <xs:unique name="ContactType_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ContactType" />
      <xs:field xpath="mstns:ContactTypeId" />
    </xs:unique>
    <xs:unique name="Country_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Country" />
      <xs:field xpath="mstns:CountryCode" />
    </xs:unique>
    <xs:unique name="Culture_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Culture" />
      <xs:field xpath="mstns:CultureId" />
    </xs:unique>
    <xs:unique name="Currency_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Currency" />
      <xs:field xpath="mstns:CurrencyCode" />
    </xs:unique>
    <xs:unique name="Customer_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Customer" />
      <xs:field xpath="mstns:CustomerId" />
    </xs:unique>
    <xs:unique name="CustomerBrand_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:CustomerBrand" />
      <xs:field xpath="mstns:BrandId" />
    </xs:unique>
    <xs:unique name="DeliveryTerm_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:DeliveryTerm" />
      <xs:field xpath="mstns:DeliveryTermId" />
    </xs:unique>
    <xs:unique name="Department_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Department" />
      <xs:field xpath="mstns:DepartmentId" />
    </xs:unique>
    <xs:unique name="ExpensePercentage_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ExpensePercentage" />
      <xs:field xpath="mstns:ExpensePercentageId" />
    </xs:unique>
    <xs:unique name="HareketTipi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:HareketTipi" />
      <xs:field xpath="mstns:HareketTipiId" />
    </xs:unique>
    <xs:unique name="Location_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Location" />
      <xs:field xpath="mstns:LocationId" />
    </xs:unique>
    <xs:unique name="Origin_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Origin" />
      <xs:field xpath="mstns:OriginId" />
    </xs:unique>
    <xs:unique name="PaymentTerm_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:PaymentTerm" />
      <xs:field xpath="mstns:PaymentTermId" />
    </xs:unique>
    <xs:unique name="Product_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Product" />
      <xs:field xpath="mstns:ProductId" />
    </xs:unique>
    <xs:unique name="ProductCategory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductCategory" />
      <xs:field xpath="mstns:ProductCategoryId" />
    </xs:unique>
    <xs:unique name="ProductSubcategory_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ProductSubcategory" />
      <xs:field xpath="mstns:ProductSubcategoryId" />
    </xs:unique>
    <xs:unique name="SalesPerson_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesPerson" />
      <xs:field xpath="mstns:SalesPersonId" />
    </xs:unique>
    <xs:unique name="Shelf_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Shelf" />
      <xs:field xpath="mstns:ShelfId" />
    </xs:unique>
    <xs:unique name="ShipMethod_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:ShipMethod" />
      <xs:field xpath="mstns:ShipMethodId" />
    </xs:unique>
    <xs:unique name="StokkoduTipi_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:StokkoduTipi" />
      <xs:field xpath="mstns:StokkoduTipiId" />
    </xs:unique>
    <xs:unique name="UnitMeasure_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:UnitMeasure" />
      <xs:field xpath="mstns:UnitMeasureId" />
    </xs:unique>
    <xs:unique name="Vendor_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Vendor" />
      <xs:field xpath="mstns:VendorId" />
    </xs:unique>
    <xs:unique name="SalesAgent_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:SalesAgent" />
      <xs:field xpath="mstns:SalesAgentId" />
    </xs:unique>
    <xs:unique name="LookupTables_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:LookupTables" />
      <xs:field xpath="mstns:TableName" />
    </xs:unique>
    <xs:unique name="Employee_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
      <xs:selector xpath=".//mstns:Employee" />
      <xs:field xpath="mstns:EmployeeId" />
    </xs:unique>
  </xs:element>
  <xs:annotation>
    <xs:appinfo>
      <msdata:Relationship name="FK_Country_Culture" msdata:parent="Culture" msdata:child="Country" msdata:parentkey="CultureId" msdata:childkey="CultureId" msprop:Generator_UserRelationName="FK_Country_Culture" msprop:Generator_RelationVarName="relationFK_Country_Culture" msprop:Generator_UserChildTable="Country" msprop:Generator_UserParentTable="Culture" msprop:Generator_ParentPropName="CultureRow" msprop:Generator_ChildPropName="GetCountryRows" />
      <msdata:Relationship name="FK_Country_Currency" msdata:parent="Currency" msdata:child="Country" msdata:parentkey="CurrencyCode" msdata:childkey="CurrencyCode" msprop:Generator_UserRelationName="FK_Country_Currency" msprop:Generator_RelationVarName="relationFK_Country_Currency" msprop:Generator_UserChildTable="Country" msprop:Generator_UserParentTable="Currency" msprop:Generator_ParentPropName="CurrencyRow" msprop:Generator_ChildPropName="GetCountryRows" />
      <msdata:Relationship name="FK_Country_Origin" msdata:parent="Origin" msdata:child="Country" msdata:parentkey="OriginId" msdata:childkey="OriginId" msprop:Generator_UserRelationName="FK_Country_Origin" msprop:Generator_RelationVarName="relationFK_Country_Origin" msprop:Generator_UserChildTable="Country" msprop:Generator_UserParentTable="Origin" msprop:Generator_ParentPropName="OriginRow" msprop:Generator_ChildPropName="GetCountryRows" />
      <msdata:Relationship name="FK_Customer_Country" msdata:parent="Country" msdata:child="Customer" msdata:parentkey="CountryCode" msdata:childkey="CountryCode" msprop:Generator_UserRelationName="FK_Customer_Country" msprop:Generator_RelationVarName="relationFK_Customer_Country" msprop:Generator_UserChildTable="Customer" msprop:Generator_UserParentTable="Country" msprop:Generator_ParentPropName="CountryRow" msprop:Generator_ChildPropName="GetCustomerRows" />
      <msdata:Relationship name="FK_Customer_PaymentTerm" msdata:parent="PaymentTerm" msdata:child="Customer" msdata:parentkey="PaymentTermId" msdata:childkey="PreferredPaymentTerm" msprop:Generator_UserRelationName="FK_Customer_PaymentTerm" msprop:Generator_RelationVarName="relationFK_Customer_PaymentTerm" msprop:Generator_UserChildTable="Customer" msprop:Generator_UserParentTable="PaymentTerm" msprop:Generator_ParentPropName="PaymentTermRow" msprop:Generator_ChildPropName="GetCustomerRows" />
      <msdata:Relationship name="FK_Customer_ShipMethod" msdata:parent="ShipMethod" msdata:child="Customer" msdata:parentkey="ShipMethodId" msdata:childkey="PreferredShipMethod" msprop:Generator_UserRelationName="FK_Customer_ShipMethod" msprop:Generator_RelationVarName="relationFK_Customer_ShipMethod" msprop:Generator_UserChildTable="Customer" msprop:Generator_UserParentTable="ShipMethod" msprop:Generator_ParentPropName="ShipMethodRow" msprop:Generator_ChildPropName="GetCustomerRows" />
      <msdata:Relationship name="FK_CustomerBrand_Customer" msdata:parent="Customer" msdata:child="CustomerBrand" msdata:parentkey="CustomerId" msdata:childkey="CustomerId" msprop:Generator_UserRelationName="FK_CustomerBrand_Customer" msprop:Generator_RelationVarName="relationFK_CustomerBrand_Customer" msprop:Generator_UserChildTable="CustomerBrand" msprop:Generator_UserParentTable="Customer" msprop:Generator_ParentPropName="CustomerRow" msprop:Generator_ChildPropName="GetCustomerBrandRows" />
      <msdata:Relationship name="FK_Product_ProductSubcategory_ProductSubcategoryId" msdata:parent="ProductSubcategory" msdata:child="Product" msdata:parentkey="ProductSubcategoryId" msdata:childkey="ProductSubcategoryId" msprop:Generator_UserRelationName="FK_Product_ProductSubcategory_ProductSubcategoryId" msprop:Generator_RelationVarName="relationFK_Product_ProductSubcategory_ProductSubcategoryId" msprop:Generator_UserChildTable="Product" msprop:Generator_UserParentTable="ProductSubcategory" msprop:Generator_ParentPropName="ProductSubcategoryRow" msprop:Generator_ChildPropName="GetProductRows" />
      <msdata:Relationship name="FK_Stok_StokkoduTipi" msdata:parent="StokkoduTipi" msdata:child="Product" msdata:parentkey="StokkoduTipiId" msdata:childkey="StokKoduTipiId" msprop:Generator_UserRelationName="FK_Stok_StokkoduTipi" msprop:Generator_RelationVarName="relationFK_Stok_StokkoduTipi" msprop:Generator_UserChildTable="Product" msprop:Generator_UserParentTable="StokkoduTipi" msprop:Generator_ParentPropName="StokkoduTipiRow" msprop:Generator_ChildPropName="GetProductRows" />
      <msdata:Relationship name="FK_ProductSubcategory_ProductCategory_ProductCategoryId" msdata:parent="ProductCategory" msdata:child="ProductSubcategory" msdata:parentkey="ProductCategoryId" msdata:childkey="ProductCategoryId" msprop:Generator_UserRelationName="FK_ProductSubcategory_ProductCategory_ProductCategoryId" msprop:Generator_RelationVarName="relationFK_ProductSubcategory_ProductCategory_ProductCategoryId" msprop:Generator_UserChildTable="ProductSubcategory" msprop:Generator_UserParentTable="ProductCategory" msprop:Generator_ParentPropName="ProductCategoryRow" msprop:Generator_ChildPropName="GetProductSubcategoryRows" />
      <msdata:Relationship name="FK_Raf_Yer" msdata:parent="Location" msdata:child="Shelf" msdata:parentkey="LocationId" msdata:childkey="LocationId" msprop:Generator_UserRelationName="FK_Raf_Yer" msprop:Generator_RelationVarName="relationFK_Raf_Yer" msprop:Generator_UserChildTable="Shelf" msprop:Generator_UserParentTable="Location" msprop:Generator_ParentPropName="LocationRow" msprop:Generator_ChildPropName="GetShelfRows" />
      <msdata:Relationship name="FK_Vendor_PaymentTerm" msdata:parent="PaymentTerm" msdata:child="Vendor" msdata:parentkey="PaymentTermId" msdata:childkey="PreferredPaymentTerm" msprop:Generator_UserRelationName="FK_Vendor_PaymentTerm" msprop:Generator_RelationVarName="relationFK_Vendor_PaymentTerm" msprop:Generator_UserChildTable="Vendor" msprop:Generator_UserParentTable="PaymentTerm" msprop:Generator_ParentPropName="PaymentTermRow" msprop:Generator_ChildPropName="GetVendorRows" />
      <msdata:Relationship name="FK_SalesAgent_Contact" msdata:parent="Contact" msdata:child="SalesAgent" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_SalesAgent_Contact" msprop:Generator_RelationVarName="relationFK_SalesAgent_Contact" msprop:Generator_UserChildTable="SalesAgent" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetSalesAgentRows" />
      <msdata:Relationship name="FK_Employee_Employee_ManagerId" msdata:parent="Employee" msdata:child="Employee" msdata:parentkey="EmployeeId" msdata:childkey="ManagerId" msprop:Generator_UserRelationName="FK_Employee_Employee_ManagerId" msprop:Generator_RelationVarName="relationFK_Employee_Employee_ManagerId" msprop:Generator_UserChildTable="Employee" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRowParent" msprop:Generator_ChildPropName="GetEmployeeRows" />
      <msdata:Relationship name="FK_SalesPerson_Employee_SalesPersonId" msdata:parent="Employee" msdata:child="SalesPerson" msdata:parentkey="EmployeeId" msdata:childkey="SalesPersonId" msprop:Generator_UserRelationName="FK_SalesPerson_Employee_SalesPersonId" msprop:Generator_RelationVarName="relationFK_SalesPerson_Employee_SalesPersonId" msprop:Generator_UserChildTable="SalesPerson" msprop:Generator_UserParentTable="Employee" msprop:Generator_ParentPropName="EmployeeRow" msprop:Generator_ChildPropName="GetSalesPersonRows" />
      <msdata:Relationship name="FK_Employee_Contact_ContactId" msdata:parent="Contact" msdata:child="Employee" msdata:parentkey="ContactId" msdata:childkey="ContactId" msprop:Generator_UserRelationName="FK_Employee_Contact_ContactId" msprop:Generator_RelationVarName="relationFK_Employee_Contact_ContactId" msprop:Generator_UserChildTable="Employee" msprop:Generator_UserParentTable="Contact" msprop:Generator_ParentPropName="ContactRow" msprop:Generator_ChildPropName="GetEmployeeRows" />
      <msdata:Relationship name="FK_Employee_Department" msdata:parent="Department" msdata:child="Employee" msdata:parentkey="DepartmentId" msdata:childkey="DepartmentId" msprop:Generator_UserRelationName="FK_Employee_Department" msprop:Generator_RelationVarName="relationFK_Employee_Department" msprop:Generator_UserChildTable="Employee" msprop:Generator_UserParentTable="Department" msprop:Generator_ParentPropName="DepartmentRow" msprop:Generator_ChildPropName="GetEmployeeRows" />
    </xs:appinfo>
  </xs:annotation>
</xs:schema>